Conditionalize titles
Some 'book' titles need to be conditionalized for partner use. Signed-off-by: Ron Stone <ronald.stone@windriver.com> Change-Id: If69c2a9102035c02ff2999eb5687b7867cd581a0
This commit is contained in:
parent
dcd4a4a202
commit
02f4483606
8
doc/source/_includes/title-overrides.rest
Normal file
8
doc/source/_includes/title-overrides.rest
Normal file
@ -0,0 +1,8 @@
|
||||
.. dc-title-begin
|
||||
.. dc-title-end
|
||||
|
||||
.. admin-title-begin
|
||||
.. admin-title-end
|
||||
|
||||
.. sysconf-title-begin
|
||||
.. sysconf-title-end
|
@ -1,11 +1,16 @@
|
||||
.. Admin tasks file, created by
|
||||
sphinx-quickstart on Thu Sep 3 15:14:59 2020.
|
||||
You can adapt this file completely to your liking, but it should at least
|
||||
contain the root `toctree` directive.
|
||||
.. _admin-tasks-title:
|
||||
|
||||
===========
|
||||
Admin Tasks
|
||||
===========
|
||||
.. only: starlingx
|
||||
|
||||
===========
|
||||
Admin Tasks
|
||||
===========
|
||||
|
||||
.. only:: partner
|
||||
|
||||
..include:: /_includes/title-overrides.rest
|
||||
:start-after: admin-title-begin
|
||||
:end-before: admin-title-end
|
||||
|
||||
--------------------
|
||||
StarlingX Kubernetes
|
||||
|
@ -1,6 +1,17 @@
|
||||
=================
|
||||
Distributed Cloud
|
||||
=================
|
||||
.. _dist-cloud-index:
|
||||
|
||||
.. only:: starlingx
|
||||
|
||||
=================
|
||||
Distributed Cloud
|
||||
=================
|
||||
|
||||
.. only:: partner
|
||||
|
||||
..include:: /_includes/title-overrides.rest
|
||||
:start-after: dc-title-begin
|
||||
:end-before: dc-title-end
|
||||
|
||||
|
||||
------------
|
||||
Introduction
|
||||
|
@ -1,8 +1,17 @@
|
||||
.. _sysconf_main_index:
|
||||
|
||||
====================
|
||||
System Configuration
|
||||
====================
|
||||
.. only:: starlingx
|
||||
|
||||
====================
|
||||
System Configuration
|
||||
====================
|
||||
|
||||
.. only:: partner
|
||||
|
||||
..include:: /_includes/title-overrides.rest
|
||||
:start-after: sysconf-title-begin
|
||||
:end-before: sysconf-title-end
|
||||
|
||||
|
||||
--------------------
|
||||
StarlingX Kubernetes
|
||||
|
Loading…
Reference in New Issue
Block a user