From 36c542e976d6d844e68aef1633c63a577ca2b1c7 Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Wed, 16 Oct 2019 15:47:55 -0700 Subject: [PATCH] Update of index.html and created a method of supporting mulitple column sections. Use the .. container:: directive: .. container:: multicolumns .. container:: column * Default width of columns is 350px * Add as many columns as you want (3 or less is best). * use .. rst-class:: colh2 to create a header at the top of the column Signed-off-by: Kevin Putnam --- .../otc_tcs_sphinx_theme/static/tcs_theme.css | 25 ++++++ source/index.rst | 87 +++++++++++-------- 2 files changed, 74 insertions(+), 38 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 5bc7e7a4..6a22670c 100644 --- a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css +++ b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css @@ -471,3 +471,28 @@ div.linenodiv:before { /*add extra new line to make sure code and line numbers a /*End support for labeled code-blocks*/ +/*Begin support for multi-column sections*/ + +.column { + float: left; + width: 350px; + padding: 10px; + /*height: 500px;*/ + margin: 10px; + border: 10px; +} + +/* Clear floats after the columns */ +.multicolumns:after { + content: ""; + display: table; + clear: both; +} + +.colh2 { + font-size: 150%; + font-weight: 700; + font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif; +} + +/*End support for multi-column sections*/ diff --git a/source/index.rst b/source/index.rst index 22b386d8..c67bd0ee 100644 --- a/source/index.rst +++ b/source/index.rst @@ -1,61 +1,72 @@ .. _clear-linux: -|CL-PRJ| +|CL-PRJ| Documentation ############################################# -Welcome to the |CL-ATTR| documentation pages, the source for |CL| documentation. +.. container:: multicolumns -Our documentation is divided into the following sections: + .. container:: column + .. rst-class:: colh2 -:ref:`get-started` + Highlights - If you are new to |CL|, get started quickly with step-by-step instructions - for installing |CL| on bare metal, in a virtual environment, or as a live - image on a USB stick. + :ref:`autospec` + **autospec** is a tool to assist in the automated creation and + maintenance of RPM packaging in Clear Linux OS. -:ref:`about` + :ref:`dlrs` + This tutorial shows you how to run benchmarking workloads in Clear + Linux OS using TensorFlow\* or PyTorch\* with the Deep Learning + Reference Stack. - |CL| is different from other Linux distributions. + :ref:`docker` + Clear Linux OS supports multiple containerization platforms, + including a Docker solution. - Updates, ease of use, and custom derivatives are a few of the differences - this section explains. Orient yourself to these differences and why they - matter to you. + :ref:`developer-workstation` + Developer Workstation helps you find the Bundles you need to start + your Clear Linux OS development project. - .. raw:: html + .. container:: column - + .. rst-class:: colh2 -:ref:`guides` + Quicklinks - Guides cover a range of topics from |CL| features and tooling, to system - maintenance, network, and stacks. + :ref:`get-started` + Get up and running fast with Clear Linux\* OS. Use these step-by-step + instructions to guide you through the installation of Clear Linux OS + from bare metal to live image. -:ref:`Use case tutorials ` + :ref:`bare-metal-install-desktop` + These instructions guide you through the installation of Clear Linux + OS on bare metal using a bootable USB drive. - Sample use cases, with step-by-step instructions, show how to set up - third-party tools and software with |CL|. + :ref:`architect-lifecycle` + This guide provides DevOps with a model to architect the life-cycle + of a Clear Linux OS derivative that integrates custom software and + content using distinct workflows. -:ref:`reference` + :ref:`bundles` + Useful bundle commands for working with bundles on the Clear Linux OS. - This section provides additional reference information on the |CL| project. + .. container:: column -:ref:`faq` + .. toctree:: + :caption: Documentation Contents + :maxdepth: 1 - The FAQ section provides answers to commonly asked questions about |CL|. + get-started/index + about + guides/index + tutorials/index + reference/index + FAQ/index + collaboration/collaboration -:ref:`collaboration` + **Need some help?** - This section describes how to contribute to |CL| documentation. - -.. toctree:: - :maxdepth: 2 - :hidden: - - get-started/index - about - guides/index - tutorials/index - reference/index - FAQ/index - collaboration/collaboration + | `Ask the Clear Linux experts `_ + | `Clear Linux Forum `_ + | `IRC-based support `_