>From 3d61331aea3bce38d6c9a6c44f3fe391c1db6d13 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Sat, 9 Nov 2013 20:21:21 -0500 Subject: [PATCH 2/2] Updated Makefile * HTML index files - New makefile target update_site which will auto clean up unused languages - Added index.html files - Added .gitignore for docs/html/en-US/SCAP_Security_Guide --- docs/Makefile | 18 ++++-- docs/html/Sitemap | 18 +++--- docs/html/en-US/.gitignore | 1 + docs/html/en-US/index.html | 93 +++++++++++++++++++++++++++++ docs/html/index.html | 139 +++++++++++++++++++++++++++----------------- docs/ssg-docs.db | Bin 5120 -> 5120 bytes 6 files changed, 201 insertions(+), 68 deletions(-) create mode 100644 docs/html/en-US/.gitignore create mode 100644 docs/html/en-US/index.html diff --git a/docs/Makefile b/docs/Makefile index 5759d2b..4ebb8f9 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -24,25 +24,33 @@ # sqlite> .exit -SITECONFIG="../ssg-docs.cfg" +SITE_CONFIG="ssg-docs.cfg" all: user_guide developer_guide workshop - publican update_site --site_config ssg-docs.cfg + +update_site: + publican update_site --site_config $(SITE_CONFIG) + for lang in a*-* b*-* c*-* d*-* el-GR es-ES f*-* \ + g*-* h*-* i*-* j*-* k*-* l*-* m*-* \ + n*-* o*-* p*-* r*-* si-LK sk-SK \ + sr-Latn-RS sr-RS sv-SE t*-* u*-* zh-* ; do \ + rm -Rf html/$$lang ; \ + done user_guide: cd User_Guide/ \ && publican build --publish --formats html,html-single,epub --embedtoc --langs en-US \ - && publican install_book --site_config $(SITECONFIG) --lang en-US + && publican install_book --site_config ../$(SITE_CONFIG) --lang en-US developer_guide: cd Developer_Guide/ \ && publican build --publish --formats html,html-single,epub --embedtoc --langs en-US \ - && publican install_book --site_config $(SITECONFIG) --lang en-US + && publican install_book --site_config ../$(SITE_CONFIG) --lang en-US workshop: cd SCAP_and_STIG_Workshop/ \ && publican build --publish --formats html,html-single,epub --embedtoc --langs en-US \ - && publican install_book --site_config $(SITECONFIG) --lang en-US + && publican install_book --site_config ../$(SITE_CONFIG) --lang en-US clean: cd User_Guide && publican clean diff --git a/docs/html/Sitemap b/docs/html/Sitemap index 6e4e84f..86c2444 100644 --- a/docs/html/Sitemap +++ b/docs/html/Sitemap @@ -2,55 +2,55 @@ ./en-US/SCAP_Security_Guide/0.1/epub/Developer_Guide/SCAP_Security_Guide-0.1-Developer_Guide-en-US.epub - 2013-11-09 + 2013-11-10 monthly 0.8 ./en-US/SCAP_Security_Guide/0.1/html/Developer_Guide/index.html - 2013-11-09 + 2013-11-10 monthly 0.8 ./en-US/SCAP_Security_Guide/0.1/html-single/Developer_Guide/index.html - 2013-11-09 + 2013-11-10 monthly 0.8 ./en-US/SCAP_Security_Guide/0.1/epub/SCAP_and_STIG_Workshop/SCAP_Security_Guide-0.1-SCAP_and_STIG_Workshop-en-US.epub - 2013-11-09 + 2013-11-10 monthly 0.8 ./en-US/SCAP_Security_Guide/0.1/html/SCAP_and_STIG_Workshop/index.html - 2013-11-09 + 2013-11-10 monthly 0.8 ./en-US/SCAP_Security_Guide/0.1/html-single/SCAP_and_STIG_Workshop/index.html - 2013-11-09 + 2013-11-10 monthly 0.8 ./en-US/SCAP_Security_Guide/0.1/epub/User_Guide/SCAP_Security_Guide-0.1-User_Guide-en-US.epub - 2013-11-09 + 2013-11-10 monthly 0.8 ./en-US/SCAP_Security_Guide/0.1/html/User_Guide/index.html - 2013-11-09 + 2013-11-10 monthly 0.8 ./en-US/SCAP_Security_Guide/0.1/html-single/User_Guide/index.html - 2013-11-09 + 2013-11-10 monthly 0.8 diff --git a/docs/html/en-US/.gitignore b/docs/html/en-US/.gitignore new file mode 100644 index 0000000..8d961ac --- /dev/null +++ b/docs/html/en-US/.gitignore @@ -0,0 +1 @@ +SCAP_Security_Guide/ diff --git a/docs/html/en-US/index.html b/docs/html/en-US/index.html new file mode 100644 index 0000000..b26312c --- /dev/null +++ b/docs/html/en-US/index.html @@ -0,0 +1,93 @@ + + + + + + + + toc nav + + +

+ Welcome +

+
+
+ +
+ +
+ + +
+ + + + +

The Navigation Menu above requires JavaScript to function.

Enable JavaScript to allow the Navigation Menu to function.

Disable CSS to view the Navigation options without JavaScript enabled

+ +
+ + + diff --git a/docs/html/index.html b/docs/html/index.html index b25f91b..a4a12a0 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -1,62 +1,93 @@ - + - Documentation + + toc nav - -

Documentation

- - + +

+ Welcome +

+
+
+ +
+ +
+ + +
+ + + + +

The Navigation Menu above requires JavaScript to function.

Enable JavaScript to allow the Navigation Menu to function.

Disable CSS to view the Navigation options without JavaScript enabled

+ +
- + diff --git a/docs/ssg-docs.db b/docs/ssg-docs.db index 2013d7b081ba106cb5a8c0b512bca6dc9f2dde48..72b3733ad32cf9fd1b370e8f98801308ce3c643a 100644 GIT binary patch delta 190 zcmZqBXwaA-&3JsH%raIkLxVsOZU%82auutM zct%NXj*)?(v96(^u7Rbq09d`Y=;V!TdXs0d@c_;6;)jTV&A7m(1QfF40ShTkZeUfI n?9a_7gfPL53q^_x-2z^O1xAzCvvV*RSWe!_?h2$9aqs{Do*^qM -- 1.7.1