Jekyll Theme for Documentation — Designers Version 4.0
Total Page:16
File Type:pdf, Size:1020Kb
Jekyll theme for documentation — designers version 4.0 Last generated: December 02, 2015 © 2015 Your company. This is a boilerplate copyright statement... All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law. Jekyll theme for documentation — designers User Guide PDF last generated: December 02, 2015 Table of Contents Overview Introduction .............................................................................................................................. 1 Supported features .................................................................................................................. 3 Get started 1. Build the default project ....................................................................................................... 8 2. Add a new project .............................................................................................................. 12 3. Decide on your project's attributes.................................................................................... 15 4. Set the configuration options ............................................................................................. 17 5. Customize the conditions file ............................................................................................. 27 6. Configure the sidebar......................................................................................................... 29 7. Configure the top navigation.............................................................................................. 34 8. Customize the URL generator............................................................................................ 36 9. Set up Prince XML ............................................................................................................. 37 10. Configure the build scripts ............................................................................................... 38 Authoring Pages ..................................................................................................................................... 44 WebStorm Text Editor............................................................................................................ 50 Conditional logic..................................................................................................................... 53 Content reuse......................................................................................................................... 58 Collections.............................................................................................................................. 60 Navigation Sidebar navigation.................................................................................................................. 62 Tags........................................................................................................................................ 65 Series...................................................................................................................................... 71 Formatting Tooltips................................................................................................................................... 74 Alerts ...................................................................................................................................... 75 [email protected] i Jekyll theme for documentation — designers User Guide PDF last generated: December 02, 2015 Icons....................................................................................................................................... 79 Images.................................................................................................................................... 85 Labels..................................................................................................................................... 88 Links ....................................................................................................................................... 89 Navtabs .................................................................................................................................. 94 Video embeds ........................................................................................................................ 97 Tables................................................................................................................................... 101 Syntax highlighting............................................................................................................... 105 Handling reviews Commenting on files ............................................................................................................ 107 Publishing Build arguments ................................................................................................................... 108 Themes................................................................................................................................. 111 Link validation ...................................................................................................................... 112 Check page title consistency ............................................................................................... 114 Generating PDFs .................................................................................................................. 115 Excluding files ...................................................................................................................... 127 Help APIs and UI tooltips ..................................................................................................... 130 Search configuration ............................................................................................................ 142 iTerm profiles........................................................................................................................ 145 Pushing builds to server....................................................................................................... 147 Getting around the password prompts in SCP.................................................................... 148 Special layouts Knowledge-base layout........................................................................................................ 152 Scroll layout.......................................................................................................................... 156 Shuffle layout........................................................................................................................ 162 FAQ layout............................................................................................................................ 166 Glossary layout..................................................................................................................... 167 Troubleshooting Troubleshooting ................................................................................................................... 170 [email protected] ii Introduction PDF last generated: December 02, 2015 Introduction Overview This site provides documentation, training, and other notes for the Jekyll Documentation theme. There's a lot of information about how to do a variety of things here, and it's not all unique to this theme. But by and large, understanding how to do things in Jekyll depends on how your theme is coded. As a result, these additional details are provided. The instructions here are geared towards technical writers working on documentation. You may have a team of one or more technical writers working on documentation for multiple projects. You can use this same theme to author all of your documentation for each of your products. The theme is set up to push out documentation for multiple projects all from the same source. You can also share content across projects. Survey of features Some of the more prominent features of this theme include the following: • Bootstrap framework • Sidebar for table of contents • Top navigation bar with drop-down menus • PDF generation (through Prince XML utility) • Build scripts to automate the workflow • Notes, tips, and warning information notes • A nifty system for creating links to different pages • Tags for alternative nativation • Content sharing across projects • Emphasis on pages, not posts • Relative (rather than absolute) link structure, so you can push the outputs anywhere and easily view them Jekyll theme for documentation — designers User Guide Page 1 Introduction PDF last generated: December 02, 2015 I'm using this theme for my documentation projects, building about 20 different outputs for various products, versions, languages, and audiences from the same set of files. This single sourcing requirement has influenced how I constructed this theme. For more discussion about the available features, see Supported features (page 3). Getting started To get started, see these three topics: 1. Getting started with this theme (page 8) 2. Setting configuration options (page 17) 3. Adding new projects (page 12) PDF Download Option for Help Material If you would like to download this help file as a PDF, you can do