Commit Graph

63 Commits

Author SHA1 Message Date
Michael Vincerra
9e442dc1c6 Merge branch 'development' of https://github.com/intelkevinputnam/clear-linux-documentation into development 2020-04-03 19:45:38 -07:00
Kevin Putnam
76e377278f Sets max width of content container to 1100 pixels and adjusts a few other settins to fit in the new arrangement. (#1046)
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-02-26 14:07:47 -08:00
Kevin Putnam
f64eb7f4d2 Merge branch 'kp-update-guides-index' into development
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-01-10 10:40:26 -08:00
Kevin Putnam
66babf4915 1. Created support for max-3 column view and smallcards.
2. Updated Clear Linux guides with 3 column view, smallcards, and 3 feature cards.
3. Updated Guides with 3 column view and smallcards.

3 column view allows for graceful resizing of the grid and simplified source reducing the number of multicolumn containers.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-01-10 10:30:11 -08:00
Kevin Putnam
3d842f73f7 Updated guides landing page with cards and featured guides. Added landing pages for guide categories. Will add featured guides to these as well.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-01-09 15:43:17 -08:00
Kevin Putnam
fb989f6291 Adds support for drop shadows on figures by adding appropriate rst-class before figure: (#977)
.. rst-class:: dropshadow

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-01-07 14:05:35 -08:00
Kevin Putnam
97cc3cfbbd Update landing page (#975)
* 1. Updated landing page to emulate look and feel of docs page on clearlinux.org
2. Added Trademarks, Cookies, and Privacy Terms links to footer with some css formatting
3. Added some CSS to pre-emptively remove added formatting to definition list entries in sphinx/rtd theme in version 2 and above

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Added start/end for footer bullet list support

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* 1. Hid toctree to reduce duplication.
2. Changed IRC link to match what is currently on the clearlinux.org site.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-01-06 15:50:59 -08:00
Kevin Putnam
6689165a46 Added ability to put drop shadows under images in figures using rst-class.
.. code-block:: rst

   .. rst-class:: dropshadow

   .. figure:: path/to/image.png
      :scale: 100%
      :alt: Alt text for figure.

      Caption for figure.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-12-16 12:30:39 -08:00
Kevin Putnam
112ec79c56 Added support for sphinx-tabs and created an example on the Stacks DB reference stack guide. (#928)
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-11-21 15:05:26 -08:00
Kevin Putnam
5a66e0effe Add support for multiple column displays and cards (#906)
* Adds support for multiple columns in reStructuredText. Required for landing page redesign.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Catching the branch up to master.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Fixing line endings in tcs_theme.js.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-11-13 08:52:28 -08:00
Kevin Putnam
4df2dfdc15 Fixes a problem where nested collapsible sections do not expand correctly. (#887)
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-11-01 09:15:05 -07:00
Kevin Putnam
992a703fbe Fixes a problem caused by there being two ways of indicating reStructuredText code blocks: (#883)
* rst
* rest

Now both are handled gracefully.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-10-28 09:25:57 -07:00
Kevin Putnam
3fa6558b07 Adds labels for code blocks used in Clear Linux docs (#852)
* Added support for labeling code blocks. Currently supported code blocks:

* yaml
* bash
* console
* reStructuredText
* Python
* PowerShell

Handling added for re-aligning code blocks with line numbers with labels.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Adds the following code block handlers:

* Diff
* C
* json
* spec
* Perl
* PHP
* xml

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-10-11 09:48:33 -07:00
Kevin Putnam
0df6c38203 * Adds ability to create code blocks with prepended "$" that won't be copied (wip). (#837)
* Fixes behavior and appearance of permalinks in collapsible sections.
* Fixes links to collapsible sections so that header is now target.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-10-04 11:12:11 -07:00
Kristal Dale
e5678ec3e5 Merge pull request #777 from krisdale/kd-update-ga-tracking
Updated GA tracking snippet:
2019-09-11 11:47:58 -07:00
Kristal Dale
02c4daa41c Updated GA tracking snippet:
- Update to use regex to match hostname for cross domain tracking
- Update to set useAnchor to true
- Update to use https when adding analytics.js

Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2019-09-10 13:52:41 -07:00
Kevin Putnam
040a1b41ce Merge pull request #755 from intelkevinputnam/kp-clr-theme-improvement
UI improvements
2019-09-10 13:29:36 -07:00
Kevin Putnam
6041602913 UI improvements:
* Changed underline of search box to white from black.
* Added white border to differentiate clearlinux.org nav elements from docs. Limitations:
   * Current solution fails to work 100% in responsive mode.
   * Degradation is graceful.
   * Better fix requires deeper change to the theme.
   * Pending update pulling RTD theme into the project will allow this.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

Changes to be committed:
	modified:   source/_themes/otc_tcs_sphinx_theme/layout.html
	modified:   source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css
2019-08-29 16:17:02 -07:00
michael vincerra
4925650c45 Add code to show status and assign status color-code for available bundles. (#748)
* Add code to show status and assign color-coding to available bundles.
- Add regex PATTERN4 to capture bundle status values
- Add code to process capture groups in for loop
- Rename bundler() to main() to follow Python convention
- Add conditional blocks to filter tags based on below status indicators
- Add css classes for active-status, wip-status, and pending-delete-status
- Closes #747

Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>

* Programs "Deprecated" status for such bundles; color-codes it in css.

Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>

* Adds #ce2029 color for "Deprecated" status to css; reorders css classes.

Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>

* Revises HTML relative link in template.html to tcs_theme.css.

Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
2019-08-29 13:50:30 -07:00
Kevin Putnam
084d7b3468 Added a magnifying glass icon to the search field and changed placeholder text. (#734)
* Adding magnifying glass to search field.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Moved magnifying glass to the left and shifted text to right in search field.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Embedded image in css to avoid sticky path issues.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Reverting to relative path to .css

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-08-23 20:46:35 +02:00
Kevin Putnam
40e05ce150 * Changed Clear Linux Project to all uppercase. (#717)
* Removed link at left of header that went to clearlinux.org
* Added "home" button on right side of header that goes to clearlinux.org

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-08-12 14:29:43 -07:00
Kevin Putnam
5a87ad722e Fixed CSS problem where a bullet list inside of an admonition was being overlapped by the admonition text. (#718)
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-08-12 11:15:43 -07:00
Kevin Putnam
af2324df0e Added trademark disclaimer at the bottom of each page. (#719)
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-08-09 13:08:23 -07:00
Kristal Dale
564c1de03e GA edits for spaces
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2019-08-05 16:04:16 -07:00
Kristal Dale
63317e9d43 Correction to GA snippet
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2019-08-05 15:37:59 -07:00
Kristal Dale
ae818da5d8 Added canonical tag configuration to config file.
Added GA tracking snippet (cross-domain) to layout template.

Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2019-08-05 14:28:00 -07:00
Kevin Putnam
e36c86ed7e Small change to theme and added build of Chinese language version.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-07-22 14:10:10 -07:00
Kevin Putnam
5687653508 Fixed problem with version and language paths.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-07-10 14:10:27 -07:00
Kevin Putnam
633f3d0194 in progress rtd theme improvements
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-07-09 15:05:31 -07:00
Kevin Putnam
7caea349e3 Additional proposed fixes to organization for RTD site.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-06-07 08:47:45 -07:00
Kevin Putnam
1887b87f6f A bunch of improvements and proof of concept for moving tooling to top level.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-06-06 09:29:59 -07:00
Kevin Putnam
8da654bea6 Improved layout and decided to avoid trying to create a full width header to avoid wasting screen space.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-05-22 13:00:21 -07:00
Kevin Putnam
979f0c2979 experimenting with formatting 2019-05-07 09:44:31 -07:00
Kevin Putnam
5db336d01a 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. 2019-04-03 12:49:01 -07:00
Kevin Putnam
b2b6e9e527 fixed merge of latest 2019-03-26 13:53:18 -07:00
Kevin Putnam
7e86cab634 added simple header with links to rest of clearlinux.org site 2019-03-26 13:34:12 -07:00
Geoffroy Van Cutsem
8a6d69b82e Update all links to the download website to use the CDN (#434)
Update all links pointing at https://download.clearlinux.org to use
the CDN, i.e. https://cdn.download.clearlinux.org

Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
2019-03-20 14:31:30 -07:00
Kevin Putnam
41304dd834 added otc-tcs theme and clearlinux branding image 2019-02-07 13:42:52 -08:00
Eli JacobX Ramirez Cervantes
58145324a8 sorttable-js solved sorttable issue 2017-02-16 11:01:14 -06:00
Eli JacobX Ramirez Cervantes
a86b860f1c sortable class was added to the tables 2017-02-15 17:51:26 -06:00
Eli JacobX Ramirez Cervantes
15c1992a18 remove addClass and console log 2017-02-15 17:17:09 -06:00
Eli JacobX Ramirez Cervantes
7d694618bb add sorttable js 2017-02-14 17:09:29 -06:00
Eli JacobX Ramirez Cervantes
9dc3cb036c word-break, text with pre tag is not resizing to fit the responsiveness 2017-02-13 14:33:20 -06:00
Eli JacobX Ramirez Cervantes
a7948f0e50 Conflicts were resolved 2017-02-02 12:14:43 -06:00
Eli JacobX Ramirez Cervantes
d81f995941 Fix mobile menu 2017-02-02 12:12:19 -06:00
Eli JacobX Ramirez Cervantes
44f3841a13 fix responsive for documentation section 2017-01-31 15:51:44 -06:00
Rodrigo Caballero
41cdf6ab0d Revert "Merge branch 'new-file-struct' into 'master'"
This reverts commit 4d707bc539, reversing
changes made to b18458758e.

Signed-off-by: Rodrigo Caballero <rodrigo.caballero.abraham@intel.com>
2016-11-22 10:56:24 -06:00
Rodrigo Caballero
a4b61aecf9 Modify file structure of docs source files.
Changed the file structure to allow for easier and better maintenance of
the docs. Files were renamed as needed and following a consistent
convention. Added a index.rst to every folder allowing for partial
builds of the docs. Included content previously left out of the docs
build. The commit also performs minimal housekeeping.

Signed-off-by: Rodrigo Caballero <rodrigo.caballero.abraham@intel.com>
2016-11-18 13:36:22 -06:00
Noelia Nunez
3a05efb10b Fixed Get Involved dropdown 2016-09-23 12:47:38 -05:00
Noelia Nunez
3c0c9abc22 Fixed sidebar responsive styles 2016-08-29 17:18:01 -05:00