From 5db336d01a6d0343e3e52cf2eebd5911419b95bc Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Wed, 3 Apr 2019 12:49:01 -0700 Subject: [PATCH] fixed class conflict causing issue with comments in code blocks; fixed include caused by moving a file; changed top level of site to make it pretty; marked old index as orphan. --- .../otc_tcs_sphinx_theme/static/tcs_theme.css | 12 ++++++------ .../_themes/otc_tcs_sphinx_theme/static/tcs_theme.js | 2 +- .../guides/maintenance/kernel-development.rst | 2 +- source/conf.py | 2 +- source/index.rst | 2 ++ 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css index afe44ddb..0b446786 100644 --- a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css +++ b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css @@ -92,27 +92,27 @@ th,td { padding-left: 0 !important; } -.c1 { +.clps1 { font-size: 175%; } -.c2 { +.clps2 { font-size: 150%; } -.c3 { +.clps3 { font-size: 125%; } -.c4 { +.clps4 { font-size: 115%; } -.c5 { +.clps5 { font-size: 110%; } -.c6 { +.clps6 { font-size: 100%; } diff --git a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.js b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.js index 57ded7d0..9064b9f7 100644 --- a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.js +++ b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.js @@ -21,7 +21,7 @@ for (i = 0; i < contents.length; i++) { var btn = document.createElement("BUTTON"); //If it is a header capture which level and pass on to button if (element_type.length == 2 && element_type[0] == 'h') { - var newClass = 'c' + element_type[1]; + var newClass = 'clps' + element_type[1]; //collapses the section by default only if javascript is working contents[i].style.maxHeight = 0; //Build the button and define behavior diff --git a/source/clear-linux/guides/maintenance/kernel-development.rst b/source/clear-linux/guides/maintenance/kernel-development.rst index 57b5b4ff..3df95fbb 100644 --- a/source/clear-linux/guides/maintenance/kernel-development.rst +++ b/source/clear-linux/guides/maintenance/kernel-development.rst @@ -45,7 +45,7 @@ Then make changes to the kernel, build it, and install it. Install the |CL| development tooling framework ============================================== -.. include:: autospec.rst +.. include:: ../clearlinux/autospec.rst :start-after: install-tooling-after-header: :end-before: install-tooling-end: diff --git a/source/conf.py b/source/conf.py index 52a918c1..e0f527ad 100644 --- a/source/conf.py +++ b/source/conf.py @@ -49,7 +49,7 @@ source_suffix = '.rst' #source_encoding = 'utf-8-sig' # The master toctree document. -master_doc = 'index' +master_doc = 'clear-linux/clear-linux' # General information about the project. project = u'Clear Linux* project' diff --git a/source/index.rst b/source/index.rst index 4aecff65..8752775b 100644 --- a/source/index.rst +++ b/source/index.rst @@ -1,5 +1,7 @@ .. Clear Technologies documentation master file. +:orphan: + Clear Linux - Documentation ###########################