15 Commits

Author SHA1 Message Date
Kevin Putnam
aa214223a5 Add reDocs GUI support (#1117)
* Adding support for reDocs GUI to Clear Linux Docs repo.

1. Added .tox and MANIFEST to .gitignore
2. Added py rule to make.bat to enable building of bundles.html.txt in Windows
3. Added .tox to exclude_patterns in conf.py
4. Added tox.ini and setup.py support files to project.

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

* Updated setup.py with Clear Linux docs info.

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

* Small adjustment.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-05-12 17:45:00 -07:00
Kevin Putnam
a6204a18cb Adds manpages to reference section of Clear Linux docs (#1110)
* Build manpages with "make man".

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

* Adds "make man" to github workflows.

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

* Remove shell script dependency.

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

* Change git URLs to https.

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

* Moved git clone to Makefile.

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

* Fixed typo.

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

* Adding pandoc install.

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

* Moved to Makefile.

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

* First commit toward programmatic creation of manpages.rst

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

* Multiple updates:

1. man-pages.rst now generated by script.
2. Updated Makefile and make.bat with "man" and "clean-man" recipes.
3. Fixed typo in conf.py.
4. Many improvements to manpages.py

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

* Updated readme for man pages and added man-pages.rst

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-05-01 12:23:21 -07:00
Kevin Putnam
3ec50a2cf8 Added 4 links to whitelist as they consistently report as failing but manual checks show them working. (#921)
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-11-15 11:35:39 -08:00
michael vincerra
da2334e3ab In top Makefile, adds venv target to use virtualenv: (#741)
- Contributors may run `make venv` and install requirements.txt without modifying host OS
- Innermost `requirements.txt`, 2 dependencies, moved to uppermost requirements.txt
- Adds `venv` to .gitignore in case contributors/developer forget to remove.
- Reverts source/conf.py to original.
- Replaces python command with python3 in innermost _python/Makefile

Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
2019-09-22 21:06:08 -07:00
Kevin Putnam
49efe4f7bc Fixes several links that were failing
* Added one link to whitelist (nvidia downloads)
* Added "/" to download images link
* Updated to swupd update link

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-09-13 10:14:05 -07:00
michael vincerra
12a9c29a5d Adds missing space in conditional statement in _python/template.html (#761)
Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
2019-09-03 10:53:36 -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
michael vincerra
d2396a6b4f Bundle lister update (#725)
* Revises to simplify and refine code:
- Removes regex PATTERN4 and 5
- Revises PATTERN3 to exclude comments on custom additions
- Removes pundler() because no longer a clr-bundles directory

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

Removes cruft code.

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

Edit for rebase.

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

* Removes decode() for string in extractor().

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

* Applies .bundledesc css to <p> tag on includes().

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

* Modifies html tags in template and styles.css.

Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
2019-08-14 10:17:20 -07:00
Kevin Putnam
badddca2e4 Turned on linkcheck in Travis. (#708)
* Turned on linkcheck in Travis.

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

* Added print lines to parse-link-check.py to improve Travis log output.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-08-08 09:40:26 -07:00
michael vincerra
3f2ff7321a Applies default css for tables to available bundles. (#711)
Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
2019-08-07 18:49:13 -07:00
Michael Vincerra
5d716ab1ba Upgrades to Jinja2 2.10.1, dependency for bundle_lister.py.
Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
2019-08-06 14:19:09 -07:00
Kevin Putnam
34711e6266 Added items to white list.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-07-24 11:11:21 -07:00
Kevin Putnam
bd0a8e6a93 fixed broken path in python script
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-07-11 15:30:04 -07:00
Kevin Putnam
8afc8bed1e Modified jinja2 version as 2.11.dev0 was not available
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-07-11 15:23:28 -07:00
Kevin Putnam
77552f4a9f renamed support directories by adding leading "_" to differentiate from content.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-07-11 11:36:11 -07:00