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:
Ron Stone 2021-07-30 10:57:23 -04:00
parent dcd4a4a202
commit 02f4483606
4 changed files with 46 additions and 13 deletions

View File

@ -0,0 +1,8 @@
.. dc-title-begin
.. dc-title-end
.. admin-title-begin
.. admin-title-end
.. sysconf-title-begin
.. sysconf-title-end

View File

@ -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

View File

@ -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

View File

@ -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