From 54a5d72d9cf4e65fd43c2cbceeea5eec2fcecf3e Mon Sep 17 00:00:00 2001 From: Inaky Perez-Gonzalez Date: Tue, 14 Jun 2016 13:55:25 -0700 Subject: [PATCH] doc: Merge substitutions into conf.py:rst_epilog This file is only used there, it is short and keeping it away introduces problems (warnings about .rst not being in any TOC entry, :orphan: dangling if added, etc). Change-Id: Iea33f22721856884aae9fc1dce46a2b90896286a Signed-off-by: Inaky Perez-Gonzalez --- doc/conf.py | 3 ++- doc/substitutions.rst | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 doc/substitutions.rst diff --git a/doc/conf.py b/doc/conf.py index 4a44220f59c..fda77b47c30 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -106,7 +106,8 @@ pygments_style = 'sphinx' todo_include_todos = False rst_epilog = """ -.. include:: /substitutions.rst +.. |codename| replace:: Zephyr Kernel +.. |project| replace:: Zephyr Project """ # -- Options for HTML output ---------------------------------------------- diff --git a/doc/substitutions.rst b/doc/substitutions.rst deleted file mode 100644 index bb154a5a3df..00000000000 --- a/doc/substitutions.rst +++ /dev/null @@ -1,5 +0,0 @@ -:orphan: - -.. |codename| replace:: Zephyr Kernel - -.. |project| replace:: Zephyr Project