diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 58d677f..72e1776 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -144,11 +144,11 @@ - - + + - - + + @@ -157,91 +157,24 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - + + - - + + - - + + @@ -250,14 +183,21 @@ + + + + + + + + + + @@ -317,10 +260,10 @@ - @@ -378,6 +321,24 @@ - + - + - @@ -632,6 +592,7 @@ + @@ -675,162 +636,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -841,7 +649,7 @@ - + @@ -849,7 +657,7 @@ - + @@ -905,8 +713,8 @@ - - + + @@ -914,5 +722,273 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build_designer_pdf.sh b/build_designer_pdf.sh index b10a547..76da992 100644 --- a/build_designer_pdf.sh +++ b/build_designer_pdf.sh @@ -1,2 +1,2 @@ -jekyll serve --config configs/config_designer_pdf.yml --destination /users/tjohnson/projects/documentation-theme-jekyll-builds/designer-pdf +jekyll serve --config configs/config_designer_pdf.yml --destination /users/tjohnson/projects/documentation-theme-jekyll-builds/designer_guide.pdf diff --git a/build_writer_pdf.sh b/build_writer_pdf.sh index 76dc34c..985b2a9 100644 --- a/build_writer_pdf.sh +++ b/build_writer_pdf.sh @@ -1 +1 @@ -jekyll serve --config configs/config_writer_pdf.yml --destination /users/tjohnson/projects/documentation-theme-jekyll-builds/writer-pdf +jekyll serve --config configs/config_writer_pdf.yml --destination /users/tjohnson/projects/documentation-theme-jekyll-builds/writer_guide.pdf diff --git a/configs/config_designer_pdf.yml b/configs/config_designer_pdf.yml index 8b4eec0..e81875c 100644 --- a/configs/config_designer_pdf.yml +++ b/configs/config_designer_pdf.yml @@ -17,10 +17,10 @@ url: "http://127.0.0.1:4005" baseurl: "/documentation-theme-jekyll/designer-pdf" # this is how you will preview the site on your local machine. leave as is. -host: 127.0.0.1 +host: 127.0.0.1 + +port: 4005 # specified here in case you have multiple sites and want to view them simultaneously (you'll need different ports) -# specified here in case you have multiple sites and want to view them simultaneously in different tabs (you'll need different ports) -port: 4005 markdown: redcarpet diff --git a/configs/config_writer_pdf.yml b/configs/config_writer_pdf.yml index 7a562c5..8ea3aef 100644 --- a/configs/config_writer_pdf.yml +++ b/configs/config_writer_pdf.yml @@ -17,10 +17,9 @@ url: "http://127.0.0.1:4005" baseurl: "/documentation-theme-jekyll/writer-pdf" # this is how you will preview the site on your local machine. leave as is. -host: 127.0.0.1 +host: 127.0.0.1 -# specified here in case you have multiple sites and want to view them simultaneously in different tabs (you'll need different ports) -port: 4004 +port: 4005 # specified here in case you have multiple sites and want to view them simultaneously (you'll need different ports) markdown: redcarpet diff --git a/css/customstyles.css b/css/customstyles.css index 891dede..8254b4c 100644 --- a/css/customstyles.css +++ b/css/customstyles.css @@ -62,7 +62,17 @@ .gi-5x{font-size: 5em;} +.fa-6x{font-size:900%;} +.fa-7x{font-size:1100%;} +.fa-8x{font-size:1300%;} +.fa-9x{font-size:1500%;} +.fa-10x{font-size:1700%;} +i.border { + + padding: 10px 20px; + background-color: whitesmoke; +} .breadcrumb > .active {color: #777 !important;} diff --git a/pages/formatting/icons.md b/pages/formatting/icons.md index 2188323..efdf8d0 100644 --- a/pages/formatting/icons.md +++ b/pages/formatting/icons.md @@ -80,6 +80,13 @@ And the result: Grab the right class name from the [Font Awesome library](http://fortawesome.github.io/Font-Awesome/icons/) and then implement it by following the pattern shown previously. +If you want to make your fonts even larger than the 5x style, add a custom style to your stylesheet like this: + +```css +.fa-10x{font-size:1700%;} +``` + +Then any element with the attribute `fa-10x` will be enlarged 1700%. ## Glyphicon icons available diff --git a/pages/publishing/create_pdf.md b/pages/publishing/create_pdf.md index fb03323..4e82a30 100644 --- a/pages/publishing/create_pdf.md +++ b/pages/publishing/create_pdf.md @@ -31,6 +31,9 @@ This process for creating a PDF relies on Prince to transform the HTML content i 6. In the project's root directory, the logic in the prince-file-list.txt will pull all files from the sidebar.yml file to be included in the PDF. You can adjust any of the logic there as needed, but you shouldn't need to do anything to the file. 5. In the root directory, rename the build_writer_pdf.sh file and customize its contents to point to the right paths on your computer. 5. In the root directory, rename the build_writer_prince.sh file and customize the input and output directories. The input should point to where this project builds, so the script can find the processed prince-file-list.txt file and so it knows where to build the output. +6. In the root directory, open titlepage.html and customize the link to the logo and other details. The `site_print_title` and `site_version` variables will pull from the config_writer_pdf.yml file, so make sure there are values defined there. The titlepage.html also constructs the TOC by looping through the sidebar.yml file in the same way that the sidebar.html file loops through it. The main purpose is to replicate the hierarchy (headings and subitems). +7. The titlepage.html file is specified in the sidebar.yml file, with a property of `web: false` so that it's not included in the online output. Very few items are specific to print only, but if you have other, add `web: false` to them to ensure they are likewise excluded from the online output. +7. Open the _data/sidebar.yml file and add `print: true` or `print: false` depending on what files you want to include in the PDF. 7. In iTerm, first run `. build_writer_pdf.sh` to get the pdf version of the content ready. 8. Now run `. build_writer_prince.sh` to generate the PDF from this version. 8. Check for links to non-existent topics in the PDF by looking for "page 0". diff --git a/pages/special-layouts/kb_layout.md b/pages/special-layouts/kb_layout.md index 80cf9c3..0e6d0a3 100644 --- a/pages/special-layouts/kb_layout.md +++ b/pages/special-layouts/kb_layout.md @@ -8,17 +8,19 @@ This shows a sample layout for a knowledge base. Each square could link to a tag
-
-
-
+
+
+

 

-
-
-
+
+
+
+ + ## Linking to non-tag archive pages If you don't want to link to a tag archive index, you could link to a page with code like this: