/p3_docs

This repository is for manage PATRIC static contents such as Website Tutorial, CLI Tutorial, User Guides, and PATRIC eNews.

Primary LanguagePython

PATRIC Documentation Repo

This repository is for manage PATRIC static contents such as Website Tutorial, CLI Tutorial, User Guides, and PATRIC eNews. See here for configuration.

How to add an entry

  1. Create a folder. If you don't have image associated, then you can ommit the images folder.
mkdir -p tutorial/excel_formatting/images/
  1. Make a markdown or ReST (ReStructuredText) format file

  2. Place images under ./images sub folder

  3. Add a link in the category index file (e.g. tutorial/index.rst)

  4. build html

$ make html

How to add a News entry

In order to generate feed RSS, you need to write the news entries in rst format. Check a sample entry here

  1. Follow the instruction for creating a file & linking
  2. For news entries, you need to add a code block like below,
.. feed-entry::
   :date: 2017-09-30

   Add description (a line or two) regarding the news item here. This will show up in the home page.

.. cut::
  1. When you build html, news.rss will be updated.

Resources