Mydoc.Pdf; Echo "Done";
Total Page:16
File Type:pdf, Size:1020Kb
Jekyll theme for documentation — mydoc product version 6.0 Last generated: December 28, 2017 © 2017 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 — mydoc product User Guide PDF last generated: December 28, 2017 Table of Contents Overview Get started ............................................................................................................................... 3 Introduction ............................................................................................................................ 16 Supported features ................................................................................................................ 17 About the theme author ......................................................................................................... 22 Support................................................................................................................................... 23 Release Notes 6.0 Release notes................................................................................................................... 24 5.0 Release notes................................................................................................................... 26 Installation About Ruby, Gems, Bundler, etc. .......................................................................................... 28 Install Jekyll on Mac ............................................................................................................... 35 Install Jekyll on Windows ....................................................................................................... 40 Authoring Pages ..................................................................................................................................... 44 Posts ...................................................................................................................................... 51 Lists ........................................................................................................................................ 53 Conditional logic..................................................................................................................... 57 Content reuse......................................................................................................................... 62 Collections.............................................................................................................................. 64 WebStorm editor tips ............................................................................................................. 66 Atom editor tips...................................................................................................................... 70 Navigation Sidebar navigation.................................................................................................................. 71 YAML tutorial in the context of Jekyll..................................................................................... 74 Tags........................................................................................................................................ 85 Series...................................................................................................................................... 91 Formatting Tooltips................................................................................................................................... 94 Alerts ...................................................................................................................................... 95 Icons..................................................................................................................................... 103 [email protected] i Jekyll theme for documentation — mydoc product User Guide PDF last generated: December 28, 2017 Images.................................................................................................................................. 110 Code samples ...................................................................................................................... 115 Labels................................................................................................................................... 116 Links ..................................................................................................................................... 117 Navtabs ................................................................................................................................ 120 Tables................................................................................................................................... 124 Syntax highlighting............................................................................................................... 128 Workflow maps .................................................................................................................... 131 Handling reviews Commenting on files ............................................................................................................ 135 Publishing Build arguments ................................................................................................................... 138 Themes................................................................................................................................. 141 Generating PDFs .................................................................................................................. 142 Help APIs and UI tooltips ..................................................................................................... 154 Search configuration ............................................................................................................ 166 iTerm profiles........................................................................................................................ 170 Pushing builds to server....................................................................................................... 172 Publishing on Github Pages................................................................................................. 173 Special layouts Knowledge-base layout........................................................................................................ 176 Glossary layout..................................................................................................................... 179 FAQ layout............................................................................................................................ 182 Shuffle layout........................................................................................................................ 183 Troubleshooting Troubleshooting ................................................................................................................... 186 [email protected] ii Getting started with the Documentation Theme for Jekyll PDF last generated: December 28, 2017 Getting started with the Documentation Theme for Jekyll Summary: These brief instructions will help you get started quickly with the theme. The other topics in this help provide additional information and detail about working with other aspects of this theme and Jekyll. Note: If you’d like to keep up on best practices for documentation, see my technical writing blog: I’d Rather Be Writing . Build the Theme Follow these instructions to build the theme. 1. Download the theme First download or clone the theme from the Github repo . Most likely you won’t be pulling in updates once you start customizing the theme, so downloading the theme (instead of cloning it) probably makes the most sense. In Github, click the Clone or download button, and then click Download ZIP. 2. Install Jekyll If you’ve never installed or run a Jekyll site locally on your computer, follow these instructions to install Jekyll: • Install Jekyll on Mac (page 35) • Install Jekyll on Windows (page 40) 3. Install Bundler In case you haven’t installed Bundler, install it: gem install bundler You’ll want Bundler to make sure all the Ruby gems needed work well with your project. Bundler sorts out dependencies and installs missing gems or matches up gems with the right versions based on gem dependencies. Jekyll theme for documentation — mydoc product User Guide Page 3 Getting started with the Documentation Theme for Jekyll PDF last generated: December 28, 2017 4. Option 1: Build the Theme (without the github-pages gem) Use this option if you’re not planning to publish your Jekyll site using Github Pages . Bundler’s Gemfile is how it specifies and manages project dependencies are managed. Although this project includes a Gemfile, this theme doesn’t have any dependencies beyond core Jekyll. The Gemfile is used to specify gems needed for publishing on Github Pages. If you’re not planning to have Github Pages build your Jekyll project, delete these two files from the theme’s root directory: • Gemfile • Gemfile.lock If you’ve never run Jekyll on your computer (you can check with jekyll -- version ), you may need