SphinxTutorial Documentation

Size: px
Start display at page:

Download "SphinxTutorial Documentation"

Transcription

1 SphinxTutorial Documentation Release 1.0 Anthony Scemama April 12, 2013

2

3 CONTENTS 1 Introduction 3 2 Creating a new Sphinx project 5 3 restructuredtext Sections Paragraphs Lists Inline markup Images Tables Footnotes Citations Hyperlinks Comments Substitutions Documenting your code Autodoc Displaying some code Cross-referencing Python domain Standard domain Arbitrary locations Examples 25 7 Indices and tables 27 Bibliography 29 Python Module Index 31 Index 33 i

4 ii

5 Contents: CONTENTS 1

6 2 CONTENTS

7 CHAPTER ONE INTRODUCTION Sphinx is a tool to create documentation It was created for the new Python documentation It uses restructuredtext (rst) as its markup language 3

8 4 Chapter 1. Introduction

9 CHAPTER TWO CREATING A NEW SPHINX PROJECT Run the configuration script: $ sphinx-quickstart Welcome to the Sphinx quickstart utility. Please enter values for the following settings (just press Enter to accept a default value, if one is given in brackets). Enter the root path for documentation. > Root path for the documentation [.]: You have two options for placing the build directory for Sphinx output. Either, you use a directory "_build" within the root path, or you separate "source" and "build" directories within the root path. > Separate source and build directories (y/n) [n]: y Inside the root directory, two more directories will be created; "_templates" for custom HTML templates and "_static" for custom stylesheets and other static files. You can enter another prefix (such as ".") to replace the underscore. > Name prefix for templates and static dir [_]: The project name will occur in several places in the built documentation. > Project name: SphinxTutorial > Author name(s): Anthony Scemama Sphinx has the notion of a "version" and a "release" for the software. Each version can have multiple releases. For example, for Python the version is something like 2.5 or 3.0, while the release is something like or 3.0a1. If you don t need this dual structure, just set both to the same value. > Project version: 1.0 > Project release [1.0]: The file name suffix for source files. Commonly, this is either ".txt" or ".rst". Only files with this suffix are considered documents. > Source file suffix [.rst]: One document is special in that it is considered the top node of the "contents tree", that is, it is the root of the hierarchical structure of the documents. Normally, this is "index", but if your "index" document is a custom template, you can also set this to another filename. > Name of your master document (without suffix) [index]: Sphinx can also add configuration for epub output: 5

10 > Do you want to use the epub builder (y/n) [n]: Please indicate if you want to use one of the following Sphinx extensions: > autodoc: automatically insert docstrings from modules (y/n) [n]: > doctest: automatically test code snippets in doctest blocks (y/n) [n]: > intersphinx: link between Sphinx documentation of different projects (y/n) [n]: > todo: write "todo" entries that can be shown or hidden on build (y/n) [n]: y > coverage: checks for documentation coverage (y/n) [n]: > pngmath: include math, rendered as PNG images (y/n) [n]: y > mathjax: include math, rendered in the browser by MathJax (y/n) [n]: y Note: pngmath and mathjax cannot be enabled at the same time. pngmath has been deselected. > ifconfig: conditional inclusion of content based on config values (y/n) [n]: > viewcode: include links to the source code of documented Python objects (y/n) [n]: y A Makefile and a Windows command file can be generated for you so that you only have to run e.g. make html instead of invoking sphinx-build directly. > Create Makefile? (Y/n) [y]: > Create Windows command file? (Y/n) [y]: n Creating file./source/conf.py. Creating file./source/index.rst. Creating file./makefile. Finished: An initial directory structure has been created. You should now populate your master file./source/index.rst and create other documentation source files. Use the Makefile to build the docs, like so: make builder where "builder" is one of the supported builders, e.g. html, latex or linkcheck. The source directory contains a conf.py configuration file, and the index.rst file which is the main page of your documentation:.. SphinxTutorial documentation master file, created by sphinx-quickstart on Tue Apr 9 17:58: You can adapt this file completely to your liking, but it should at least contain the root toctree directive. Sphinx Tutorial ========================================== Contents:.. toctree:: :maxdepth: 1 intro install rst documenting cross examples Indices and tables ================== 6 Chapter 2. Creating a new Sphinx project

11 * :ref: genindex * :ref: modindex * :ref: search toctree is the table of contents of your document. Below, you can insert the file names (without the.rst extension) which correspond to each section. toctree is a rst directive, so: Arguments are given after the double colon (:) Options are given after the arguments (maxdepth) The first line of the content must be indented to the same level as the options are. A Makefile has been created to let you build the documentation in many different formats (HTML, pdf, test, man, etc...) 7

12 8 Chapter 2. Creating a new Sphinx project

13 CHAPTER THREE RESTRUCTUREDTEXT A rst file looks like this: 1 ================= 2 Cross-referencing 3 ================= 4 5 Python domain :py:mod: 9 Module :py:func: 12 Function :py:data: 15 Module-level variable :py:const: 18 A defined constant :py:class: 21 Class :py:meth: 24 Method of an object :py:attr: 27 Data attribute of an object :py:exc: 30 Exception :py:obj: 33 Object of unspecified type Example: code-block:: rst function:: pyfunc() Describes a Python function. 9

14 43 44 Reference to :func: pyfunc function:: pyfunc() Describes a Python function Reference to :func: pyfunc Standard domain This domain is used to document command-line programs option:: name args, name args, Command-line option envvar:: name 62 Environment variable program:: name 65 Produces no output, but tells sphinx that all the following options 66 refer to this program Example: code-block:: rst program:: qmcchem envvar:: QMCCHEM_NET_INTERFACE Network interface to use for communications option:: -t <property>, --table <property> Print a table for the convergence of <property> The option -t refers to :option: qmcchem -t program:: qmcchem envvar:: QMCCHEM_NET_INTERFACE Network interface to use for communications option:: -t <property>, --table <property> Print a table for the convergence of <property> The option -t refers to :option: qmcchem -t _arbitrary-location: Chapter 3. restructuredtext

15 101 Arbitrary locations Sections 105 ^^^^^^^^ In rst, labels can be put anywhere in the text. If a label is placed before a section title, 108 it will refer to the section. For example: code-block:: rst _arbitrary-location: Arbitrary locations This refers to the section :ref: arbitrary-location This refers to the section :ref: arbitrary-location Such labels work across different files Downloadable documents 125 ^^^^^^^^^^^^^^^^^^^^^^^ Documcents that are intended to be downloaded can be referenced like this: code-block:: rst The :download: Verlet file <verlet.pdf> contains the exercises The :download: Verlet file <verlet.pdf> contains the exercises. It is also very easy to read in a terminal. 3.1 Sections ================= This is a heading ================= This is a section ================= This is a subsection This is a subsubsection ^^^^^^^^^^^^^^^^^^^^^^^ Paragraphs ========== 3.1. Sections 11

16 3.2 Paragraphs Paragraphs are separated by blank lines. All the text in a paragraph should have the save level of indentation Line blocks Line breaks are preserved: These lines are broken exactly like in the source file. These lines are broken exactly like in the source file Definitions A definition is represented as one line of tex containing the term to define, and its definition as an indented paragraph. sphinx A winged monster of Thebes, having a woman s head and a lion s body. It asked a riddle, killing those who failed to solve it, until... sphinx A winged monster of Thebes, having a woman s head and a lion s body. It asked a riddle, killing those who failed to solve it, until Literal blocks A paragraph containing only two colons indicates that the following indented or quoted text is a literal block :: A paragraph containing only two colons indicates that the following indented or quoted text is a literal block :: A paragraph containing only two colons indicates that the following indented or quoted text is a literal block Code blocks Code blocks are similar to Literal blocks, but with syntax highlighting:.. code-block:: python :emphasize-lines: 3,5 def some_function(): interesting = False print This line is highlighted. print This one is not... print...but this one is. 12 Chapter 3. restructuredtext

17 def some_function(): interesting = False print This line is highlighted. print This one is not... print...but this one is. 3.3 Lists Bulleted lists start with a *, + or - Numbered lists start with a #, a number or a letter a. followed by a period. They can be nested, but the nested list must start with a blank line. * First item * Second item * First nested item * Second nested item * Third nested item * Third item #. First item #. Second item #. Third item i. First item ii. Second item iii. Third item 1) This also works 2) Fantastic! First item Second item First nested item Second nested item Third nested item Third item 1. First item 2. Second item 3. Third item 1. First item 2. Second item 3. Third item 1. This also works 2. Amazing! 3.3. Lists 13

18 3.3.1 Options lists For listing command line options: -b, --bytes=list select only these bytes -c, --characters=list select only these characters -d, --delimiter=delim use DELIM instead of TAB for field delimiter -f, --fields=list select only these fields; also print any line that contains no delimiter character, unless the -s option is specified 3.4 Inline markup text in italics : text in *italics* text in italics : text in **italics** this is a code sample : this is a code sample Abbreviations are defined like this: The full explanation of :abbr: SCF (Self-Consistent Field) is displayed in a tool-tip The full explanation of SCF (Self-Consistent Field) is displayed in a tool-tip, or output only once when using the latex output. OS commands use :command: ls, for ls File names are displayed using :file:/bin/ls for /bin/ls Keystrokes are written as :kbd: Control-c Control-v for Control-c Control-v Similarly, :manpage: ls refers to the man page of ls Menu selections are described as: :menuselection: File --> Open for File Open Literal text with a variable part can be displayed as followed: Decompress the :samp: EZFIO.{version}.tar.gz file. Decompress the EZFIO.version.tar.gz file. 3.5 Images.. image:: sphinx.* 14 Chapter 3. restructuredtext

19 If the image exists in different format, the most suitable format will be chosen. For example, when building the pdf documentation, the pdf image will be chosen. For HTML documentation, png or jpeg will be prefered. 3.6 Tables Simple tables are easy to write. They must contain more than one row, and the first column can t contain multiple lines. ===== ===== ======= A B A and B ===== ===== ======= False False False True False False False True False True True True ===== ===== ======= A B A and B False False False True False False False True False True True True Grid tables are more elaborate: Header row, column 1 Header 2 Header 3 Header 4 (header rows optional) +========================+==========+==========+==========+ body row 1, column 1 column 2 column 3 column Tables 15

20 body row Header row, column 1 (header rows optional) Header 2 Header 3 Header 4 body row 1, column 1 column 2 column 3 column 4 body row Footnotes For footnotes, use [#name]_ to mark the footnote location, and add the footnote body at the bottom of the document after a Footnotes rubric heading, like so: A good rst tutorial [#f1]_ is located at the bottom[#f2]_ of the page... rubric:: Footnotes.. [#f1] Here: [#f2] Text of the second footnote. A good rst tutorial 1 is located at the bottom 2 of the page. 3.8 Citations All citations can be referenced from all files. Citation usage is similar to footnote usage, but with a label that is not numeric or begins with #. The rst specification [RefMarkup]_ is available on the web... [RefMarkup] The rst specification [RefMarkup] is available on the web. 3.9 Hyperlinks rst understands URLs and addresses, and make them as links automatically. If the text should not be the address, the syntax is Link text < _ The link and the target definition can also be saparated. This is a paragraph that contains a link _. The link points to a web site < _. This web site is Send me an scemama@irsamc.ups-tlse.fr.. _a link: This is a paragraph that contains a link. The link points to a web site. This web site is Send me an scemama@irsamc.ups-tlse.fr 1 Here: 2 Text of the second footnote. 16 Chapter 3. restructuredtext

21 3.10 Comments Comments paragraphs starting with.., and where the indentation is below the 1st word of the paragraph... This is a multi-line comment paragraph Substitutions Some macros can be defined using.. name replace:: replacement *text* For example:.. lcpq replace:: Laboratoire de Chimie et Physique Quantiques < sphinx image:: sphinx.jpg :width: 50 I work at the lcpq, and I like sphinx! I work at the Laboratoire de Chimie et Physique Quantiques < and I like! Comments 17

22 18 Chapter 3. restructuredtext

23 CHAPTER FOUR DOCUMENTING YOUR CODE Documenting a function is done like this:.. function:: create_useful_function(number) Returns a new function built upon execution, that depends on the parameter number. create_useful_function(number) Returns a new function built upon execution, that depends on the parameter number. This function can be linked in your documentations as follows: The function :func: create_useful_function is referenced in this example. The function create_useful_function() is referenced in this example. 4.1 Autodoc In Python coding, it is common to put the documentation inside the code as docstrings: 1 #!/usr/bin/python 2 """This is the decorator example of the Metaprogramming 3 section.""" 4 5 class MyClass(object): 6 """Dummy class with three functions, appearing 7 as the decorator example of Metaprogramming.""" 8 9 def init (self): 10 """Initialization function.""" 11 self.one = def test1(self): 14 """Returns self.one""" 15 return self.one def test2(self): 18 """Calls the :func: test1 function""" 19 tmp = self.test1() 20 return tmp 21 19

24 22 23 functions = [ f for f in MyClass. dict.items() \ 24 if str(f[1]).startswith( <function ) ] text = """ 27 MyClass.%(name)s_original = MyClass.%(name)s 28 def %(name)s(self, *args, **kw): 29 \"\"\"Decorated version of %(name)s_original.\"\"\" 30 print "Enter %(name)s" 31 result = self.%(name)s_original(*args,**kw) 32 print "Leave %(name)s" 33 return result 34 MyClass.%(name)s = %(name)s 35 """ for name, f in functions: 38 exec text%locals() def testing(): 42 """Function to test the decoration.""" 43 A = MyClass() 44 print A.test2() if name == " main ": 47 testing() Such strings are interpreted by the pydoc tool, which is part of the Python distribution. Sphinx is also able to read your code and use the docstrings to add them to your Sphinx documentation automatically. You can auto-document a single function or a whole module... autofunction:: decorator.testing decorator.testing() Function to test the decoration... automodule:: decorator :members: This is the decorator example of the Metaprogramming section. class decorator.myclass(*args, **kw) Dummy class with three functions, appearing as the decorator example of Metaprogramming. test1(*args, **kw) Decorated version of test1_original. test1_original() Returns self.one test2(*args, **kw) Decorated version of test2_original. test2_original() Calls the test1() function decorator.f(self ) Initialization function. 20 Chapter 4. Documenting your code

25 decorator.test1(self, *args, **kw) Decorated version of test1_original. decorator.test2(self, *args, **kw) Decorated version of test2_original. decorator.testing() Function to test the decoration. 4.2 Displaying some code A whole file can be included using:.. literalinclude:: deocrator.py (see example above). Using directives, only part of the file can be shown, line numbers can be dispayed, etc:.. literalinclude:: decorator.py :language: python :pyobject: testing :linenos: 1 def testing(): 2 """Function to test the decoration.""" 3 A = MyClass() 4 print A.test2() 4.2. Displaying some code 21

26 22 Chapter 4. Documenting your code

27 CHAPTER FIVE CROSS-REFERENCING 5.1 Python domain :py:mod: Module :py:func: Function :py:data: Module-level variable :py:const: A defined constant :py:class: Class :py:meth: Method of an object :py:attr: Data attribute of an object :py:exc: Exception :py:obj: Object of unspecified type Example:.. function:: pyfunc() Describes a Python function. Reference to :func: pyfunc. pyfunc() Describes a Python function. Reference to pyfunc(). 5.2 Standard domain This domain is used to document command-line programs... option:: name args, name args,... Command-line option.. envvar:: name Environment variable.. program:: name Produces no output, but tells sphinx that all the following options refer to this program Example: 23

28 .. program:: qmcchem.. envvar:: QMCCHEM_NET_INTERFACE Network interface to use for communications.. option:: -t <property>, --table <property> Print a table for the convergence of <property> The option -t refers to :option: qmcchem -t QMCCHEM_NET_INTERFACE Network interface to use for communications -t <property>, -table <property> Print a table for the convergence of <property> The option -t refers to qmcchem -t 5.3 Arbitrary locations Sections In rst, labels can be put anywhere in the text. If a label is placed before a section title, it will refer to the section. For example:.. _arbitrary-location: Arbitrary locations This refers to the section :ref: arbitrary-location This refers to the section Arbitrary locations Such labels work across different files Downloadable documents Documcents that are intended to be downloaded can be referenced like this: The :download: Verlet file <verlet.pdf> contains the exercises. The Verlet file contains the exercises. 24 Chapter 5. Cross-referencing

29 CHAPTER SIX EXAMPLES You have seen the HTML output,now look at the following outputs: Single HTML file Latex Text Man pages Info 25

30 26 Chapter 6. Examples

31 CHAPTER SEVEN INDICES AND TABLES genindex modindex search 27

32 28 Chapter 7. Indices and tables

33 BIBLIOGRAPHY [RefMarkup] 29

34 30 Bibliography

35 PYTHON MODULE INDEX d decorator, 20 31

36 32 Python Module Index

37 INDEX Symbols -t <property>, table <property> qmcchem command line option, 24 C create_useful_function() (built-in function), 19 D decorator (module), 20 E environment variable QMCCHEM_NET_INTERFACE, 24 F f() (in module decorator), 20 M MyClass (class in decorator), 20 P pyfunc() (built-in function), 23 Q qmcchem command line option -t <property>, table <property>, 24 T test1() (decorator.myclass method), 20 test1() (in module decorator), 20 test1_original() (decorator.myclass method), 20 test2() (decorator.myclass method), 20 test2() (in module decorator), 21 test2_original() (decorator.myclass method), 20 testing() (in module decorator), 20, 21 33

docs-python2readthedocs Documentation

docs-python2readthedocs Documentation docs-python2readthedocs Documentation Release 0.1.0 Matthew John Hayes Dec 01, 2017 Contents 1 Introduction 3 2 Install Sphinx 5 2.1 Pre-Work................................................. 5 2.2 Sphinx

More information

How to Contribute to a Sphinx Doc Documentation

How to Contribute to a Sphinx Doc Documentation How to Contribute to a Sphinx Doc Documentation Release 1.0 Haoxi Zhan December 18, 2013 Contents 1 Install Sphinx 3 1.1 Linux................................................... 3 1.2 Mac OS X................................................

More information

LECTURE 26. Documenting Python

LECTURE 26. Documenting Python LECTURE 26 Documenting Python DOCUMENTATION Being able to properly document code, especially large projects with multiple contributors, is incredibly important. Code that is poorly-documented is sooner

More information

Introduction to Python Documentation

Introduction to Python Documentation Introduction to Python Documentation Release v0.0.1 M.Faisal Junaid Butt August 18, 2015 Contents 1 Models 3 2 Auto Generated Documentation 5 3 Hello World Program Documentation 9 4 Practice 11 5 Indices

More information

The RestructuredText Book Documentation

The RestructuredText Book Documentation The RestructuredText Book Documentation Release 0.1 Daniel Greenfeld, Eric Holscher Sep 27, 2017 Contents 1 RestructuredText Tutorial 3 2 RestructuredText Guide 5 2.1 Basics...................................................

More information

Brandon Rhodes Python Atlanta, July 2009

Brandon Rhodes Python Atlanta, July 2009 The Sphinx Documentation System Brandon Rhodes Python Atlanta, July 2009 Three application models 1. Monolithic Big App Plain text PDF output HTML Special Format 1. Monolithic Big App Plain text PDF output

More information

Effective Programming Practices for Economists. 13. Documenting (the code of) research projects

Effective Programming Practices for Economists. 13. Documenting (the code of) research projects Effective Programming Practices for Economists 13. Documenting (the code of) research projects Hans-Martin von Gaudecker Department of Economics, Universität Bonn At the end of this lecture you are able

More information

The RestructuredText Book Documentation

The RestructuredText Book Documentation The RestructuredText Book Documentation Release 1.0 Daniel Greenfeld, Eric Holscher Sep 05, 2018 Tutorial 1 Schedule 2 1.1 Getting Started: Overview & Installing Initial Project................ 2 1.2 Step

More information

Task Automation. Anthony Scemama Labratoire de Chimie et Physique Quantiques IRSAMC (Toulouse)

Task Automation. Anthony Scemama Labratoire de Chimie et Physique Quantiques IRSAMC (Toulouse) Task Automation Anthony Scemama Labratoire de Chimie et Physique Quantiques IRSAMC (Toulouse) Introduction Many common tasks are repetitive Computers are better than humans

More information

Rest and Sphinx Memo. Release v g98998ab. Marc Zonzon

Rest and Sphinx Memo. Release v g98998ab. Marc Zonzon Rest and Sphinx Memo Release v1.1-29-g98998ab Marc Zonzon Feb 14, 2018 Contents 1 Introduction 3 2 ReST restructuredtext 5 2.1 Structural elements.......................................... 5 2.1.1 Emacs

More information

Recommonmark Documentation

Recommonmark Documentation Recommonmark Documentation Release 0.5.0 Lu Zero, Eric Holscher, and contributors Jan 22, 2019 Contents 1 Contents 3 2 Getting Started 11 3 Development 13 4 Why a bridge? 15 5 Why another bridge to docutils?

More information

LECTURE 9. Development Tools

LECTURE 9. Development Tools LECTURE 9 Development Tools DEVELOPMENT TOOLS Since you are all still in the earlier stages of your semester-long projects, now is a good time to cover some useful modules and tools for managing larger

More information

LECTURE 9. Development Tools

LECTURE 9. Development Tools LECTURE 9 Development Tools DEVELOPMENT TOOLS Since you are all still in the earlier stages of your semester-long projects, now is a good time to cover some useful modules and tools for managing larger

More information

This is a paragraph. It's quite short.

This is a paragraph. It's quite short. Structure A ReStructuredText Primer From the outset, let me say that "Structured Text" is probably a bit of a misnomer. It's more like "Relaxed Text" that uses certain consistent patterns. These patterns

More information

turning expressions into functions symbolic substitution, series, and lambdify

turning expressions into functions symbolic substitution, series, and lambdify Defining Functions 1 Lambda Functions turning expressions into functions symbolic substitution, series, and lambdify 2 Functions and Modules writing a function definition defining and using modules where

More information

Who needs Pandoc when you have Sphinx? An exploration of the parsers and builders of the Sphinx documentation tool FOSDEM

Who needs Pandoc when you have Sphinx? An exploration of the parsers and builders of the Sphinx documentation tool FOSDEM Who needs Pandoc when you have Sphinx? An exploration of the parsers and builders of the Sphinx documentation tool FOSDEM 2019 @stephenfin restructuredtext, Docutils & Sphinx 1 A little restructuredtext

More information

Receipe Book Documentation

Receipe Book Documentation Receipe Book Documentation Release 0.1 i Rashadul July 01, 2014 Contents 1 Contents 1 1.1 Convention used in the document.................................... 1 1.2 Exclusive soup in few minutes......................................

More information

Using Word 2016: A Quick Guide

Using Word 2016: A Quick Guide Using Word 2016: A Quick Guide Prepared by Sali Kaceli http://kaceli.com GETTING STARTED WITH WORD 2016 CREATING A NEW DOCUMENT & THE DOCUMENT GALLERY 1. Open Word 2016 2. Click on Blank Document or click

More information

Documentation. David Grellscheid

Documentation. David Grellscheid Documentation David Grellscheid 2015-04-22 Documentation is communication Need to consider all levels, they have different audiences: Code annotations: formatting, comments Structure-level documentation

More information

Formatting documents in Microsoft Word Using a Windows Operating System

Formatting documents in Microsoft Word Using a Windows Operating System Formatting documents in Microsoft Word Using a Windows Operating System 2017-07-20 Research & Scholarship, McLaughlin Library University of Guelph 50 Stone Road East Guelph, Ontario N1G 2W1 2 Contents

More information

Quark XML Author for FileNet 2.8 with BusDocs Guide

Quark XML Author for FileNet 2.8 with BusDocs Guide Quark XML Author for FileNet.8 with BusDocs Guide Contents Getting started... About Quark XML Author... System setup and preferences... Logging on to the repository... Specifying the location of checked-out

More information

Quark XML Author October 2017 Update for Platform with Business Documents

Quark XML Author October 2017 Update for Platform with Business Documents Quark XML Author 05 - October 07 Update for Platform with Business Documents Contents Getting started... About Quark XML Author... Working with the Platform repository...3 Creating a new document from

More information

Python Project Documentation

Python Project Documentation Python Project Documentation Release 1.0 Tim Diels Jan 10, 2018 Contents 1 Simple project structure 3 1.1 Code repository usage.......................................... 3 1.2 Versioning................................................

More information

Quark XML Author for FileNet 2.5 with BusDocs Guide

Quark XML Author for FileNet 2.5 with BusDocs Guide Quark XML Author for FileNet 2.5 with BusDocs Guide CONTENTS Contents Getting started...6 About Quark XML Author...6 System setup and preferences...8 Logging in to the repository...8 Specifying the location

More information

Quark XML Author September 2016 Update for Platform with Business Documents

Quark XML Author September 2016 Update for Platform with Business Documents Quark XML Author 05 - September 06 Update for Platform with Business Documents Contents Getting started... About Quark XML Author... Working with the Platform repository... Creating a new document from

More information

The mat2doc documentation system

The mat2doc documentation system The mat2doc documentation system Peter L. Søndergaard July 17, 2014 1 About mat2doc mat2doc is a system made for extracting documenation from the Matlab function headers. You write the documentation in

More information

Zerodoc Documentation

Zerodoc Documentation Zerodoc Documentation Release 0.2.0 Pablo Martin Medrano August 17, 2014 Contents 1 Zerodoc 3 1.1 1. The zerodoc format.......................................... 3 1.2 2. Installing zerodoc...........................................

More information

CiviX Author Custom Actions Cheat Sheet

CiviX Author Custom Actions Cheat Sheet Amendment Bylaw Elements CiviX Author Custom Actions Cheat Sheet 1 Alt + 6 Add Amendment Explanatory Note Add an amendment explan note which explains the purpose of the amendment - Occurs above an amendment

More information

Application documentation Documentation

Application documentation Documentation Application documentation Documentation Release 0.1 Daniele Procida June 14, 2016 Contents 1 Tutorial 3 1.1 Setting up................................................. 3 1.2 Configuring the documentation.....................................

More information

Written & Oral Presentation: Computer Tools

Written & Oral Presentation: Computer Tools Written & Oral Presentation: Computer Tools Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 Course MATH-GA.2840-004, Spring 2018 February 7th, 2018 A. Donev (Courant Institute) Tools

More information

Quark XML Author 2015 October Update with Business Documents

Quark XML Author 2015 October Update with Business Documents Quark XML Author 2015 October Update with Business Documents CONTENTS Contents Getting started...6 About Quark XML Author...6 Working with documents...8 Basic document features...8 What is a business document...8

More information

Quark XML Author October 2017 Update with Business Documents

Quark XML Author October 2017 Update with Business Documents Quark XML Author 05 - October 07 Update with Business Documents Contents Getting started... About Quark XML Author... Working with documents... Basic document features... What is a business document...

More information

CSLDSSSL - An Annotatable DSSSL Stylesheet

CSLDSSSL - An Annotatable DSSSL Stylesheet Table of Contents CSLDSSSL - An Annotatable DSSSL Stylesheet 1. Introduction... 1 1.1. Assumptions... 2 1.1.1. Print Rendering... 2 1.1.2. HTML Rendering... 2 1.2. Sample Windows Environment... 2 1.2.1.

More information

Appendix A Microsoft Office Specialist exam objectives

Appendix A Microsoft Office Specialist exam objectives A 1 Appendix A Microsoft Office Specialist exam objectives This appendix covers these additional topics: A Word 2010 Specialist exam objectives, with references to corresponding coverage in ILT Series

More information

HTML. Based mostly on

HTML. Based mostly on HTML Based mostly on www.w3schools.com What is HTML? The standard markup language for creating Web pages HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages using markup

More information

Shells and Shell Programming

Shells and Shell Programming Shells and Shell Programming 1 Shells A shell is a command line interpreter that is the interface between the user and the OS. The shell: analyzes each command determines what actions are to be performed

More information

Your Own Web Page; Quick and Dirty Via Mashup Reminder: Next Quiz on 4/15

Your Own Web Page; Quick and Dirty Via Mashup Reminder: Next Quiz on 4/15 Your Own Web Page; Quick and Dirty Via Mashup Reminder: Next Quiz on 4/15 A Special Language for the Web In the early 1990 s web pages were mostly described using a special purpose language, called Hyper-Text

More information

Generating PDFs With (and Without) Python

Generating PDFs With (and Without) Python Generating PDFs With (and Without) Python David Fischer August 27, 2015 Generating PDFs With (and Without) Python 1/11 What are PDFs? Document Presentation Format Generating PDFs With (and Without) Python

More information

Shells and Shell Programming

Shells and Shell Programming Shells and Shell Programming Shells A shell is a command line interpreter that is the interface between the user and the OS. The shell: analyzes each command determines what actions are to be performed

More information

markdown-guide Documentation

markdown-guide Documentation markdown-guide Documentation Release 0.1 Daniel Greenfeld Nov 15, 2017 Contents 1 Markdown Basics 3 1.1 Blockquotes............................................... 3 1.2 Code: Block...............................................

More information

Word 2000 MICROSOFT. Level Three Advanced. Version N1.2

Word 2000 MICROSOFT. Level Three Advanced. Version N1.2 MICROSOFT Word 2000 Level Three Advanced Version N1.2 ICT Training First Floor Victoria House Queen Alexandra Hospital Cosham PO6 3LY Tel: 023 9228 6000 ext: 5867 Email: ICT.Training@porthosp.nhs.uk Website:

More information

Shells & Shell Programming (Part B)

Shells & Shell Programming (Part B) Shells & Shell Programming (Part B) Software Tools EECS2031 Winter 2018 Manos Papagelis Thanks to Karen Reid and Alan J Rosenthal for material in these slides CONTROL STATEMENTS 2 Control Statements Conditional

More information

$ /path/to/python /path/to/soardoc/src/soardoc.py

$ /path/to/python /path/to/soardoc/src/soardoc.py SoarDoc User s Manual Dave Ray ray@soartech.com October 16, 2003 Introduction SoarDoc is an embedded metadata documentation format and tool for Soar. This format facilitates the automatic generation of

More information

QRG: Using the WYSIWYG Editor

QRG: Using the WYSIWYG Editor WYSIWYG Editor QRG: Using the WYSIWYG Editor WYSIWYG stands for What You See Is What You Get. The WYSIWYG Editor is the reason you don t need to be an IT Programmer to write content for your web page.

More information

Asciidoctor Demo. Dan Allen

Asciidoctor Demo. Dan Allen Asciidoctor Demo Dan Allen Table of Contents 1. First Steps with AsciiDoc..................................................................... 1 1.1. Lists Upon Lists..........................................................................

More information

Tutorial 2 - HTML basics

Tutorial 2 - HTML basics Tutorial 2 - HTML basics Developing a Web Site The first phase in creating a new web site is planning. This involves determining the site s navigation structure, content, and page layout. It is only after

More information

Documenting Python. Release Georg Brandl. October 06, Python Software Foundation

Documenting Python. Release Georg Brandl. October 06, Python Software Foundation Documenting Python Release 2.6.3 Georg Brandl October 06, 2009 Python Software Foundation Email: docs@python.org CONTENTS 1 Introduction 3 2 Style Guide 5 3 restructuredtext Primer 7 3.1 Paragraphs................................................

More information

Creating Compound Objects (Documents, Monographs Postcards, and Picture Cubes)

Creating Compound Objects (Documents, Monographs Postcards, and Picture Cubes) Creating Compound Objects (Documents, Monographs Postcards, and Picture Cubes) A compound object is two or more files bound together with a CONTENTdm-created XML structure. When you create and add compound

More information

python-docx-template Documentation

python-docx-template Documentation python-docx-template Documentation Release 0.1.5 Eric Lapouyade Dec 23, 2018 Contents 1 Introduction 3 2 Jinja2-like syntax 5 2.1 Restrictions................................................ 5 2.2 Extensions................................................

More information

PHCpack, phcpy, and Sphinx

PHCpack, phcpy, and Sphinx PHCpack, phcpy, and Sphinx 1 the software PHCpack a package for Polynomial Homotopy Continuation polyhedral homotopies the Python interface phcpy 2 Documenting Software with Sphinx Sphinx generates documentation

More information

Creating Web Pages with SeaMonkey Composer

Creating Web Pages with SeaMonkey Composer 1 of 26 6/13/2011 11:26 PM Creating Web Pages with SeaMonkey Composer SeaMonkey Composer lets you create your own web pages and publish them on the web. You don't have to know HTML to use Composer; it

More information

LESSON ONE AND TWO TOPIC: HOW TO USE MICROSOFT WORD. : Putu Putra Astawa, S.Kom.,M.Kom

LESSON ONE AND TWO TOPIC: HOW TO USE MICROSOFT WORD. : Putu Putra Astawa, S.Kom.,M.Kom LESSON ONE AND TWO TOPIC: HOW TO USE MICROSOFT WORD Author : Putu Putra Astawa, S.Kom.,M.Kom Date : June 09, 2014 and June 16, 2014 Time : 08.30-10.45 Am. Materials Needed : Computer, Work Sheet Overview

More information

(Refer Slide Time: 01:41) (Refer Slide Time: 01:42)

(Refer Slide Time: 01:41) (Refer Slide Time: 01:42) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #14 HTML -Part II We continue with our discussion on html.

More information

Authoring OpenStax Documents in Apache OpenOffice Writer *

Authoring OpenStax Documents in Apache OpenOffice Writer * OpenStax-CNX module: m60462 1 Authoring OpenStax Documents in Apache OpenOffice Writer * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License

More information

Leetcode Solutions Documentation

Leetcode Solutions Documentation Leetcode Solutions Documentation Release 0.1 Chao Chu March 16, 2015 Contents 1 Categories 1 1.1 Array and String............................................. 1 1.2 Binary Tree................................................

More information

COMPUTER APPLICATIONS TECHNOLOGY

COMPUTER APPLICATIONS TECHNOLOGY COMPUTER APPLICATIONS TECHNOLOGY Practical Skillsets required per application per grade Taken from CAPS Computer Applications Technology Practical skillsets required per application per grade (according

More information

Nbconvert Refactor Final 1.0

Nbconvert Refactor Final 1.0 Nbconvert Refactor Final 1.0 Jonathan Frederic June 20, 2013 Part I Introduction IPython is an interactive Python computing environment[1]. It provides an enhanced interactive Python shell. The IPython

More information

Flask-Misaka Documentation

Flask-Misaka Documentation Flask-Misaka Documentation Release 0.4.1 David Baumgold Mar 15, 2017 Contents 1 Installation 3 2 Usage 5 3 API 7 4 Options 9 Python Module Index 11 i ii Flask-Misaka Documentation, Release 0.4.1 Flask-Misaka

More information

The figure below shows the Dreamweaver Interface.

The figure below shows the Dreamweaver Interface. Dreamweaver Interface Dreamweaver Interface In this section you will learn about the interface of Dreamweaver. You will also learn about the various panels and properties of Dreamweaver. The Macromedia

More information

The main differences with other open source reporting solutions such as JasperReports or mondrian are:

The main differences with other open source reporting solutions such as JasperReports or mondrian are: WYSIWYG Reporting Including Introduction: Content at a glance. Create A New Report: Steps to start the creation of a new report. Manage Data Blocks: Add, edit or remove data blocks in a report. General

More information

Microsoft Word 2013 Lab. Course Outline. Microsoft Word 2013 Lab. 20 Apr

Microsoft Word 2013 Lab. Course Outline. Microsoft Word 2013 Lab. 20 Apr Course Outline 20 Apr 2019 Contents 1. Course Objective 2. Expert Instructor-Led Training 3. ADA Compliant & JAWS Compatible Platform 4. State of the Art Educator Tools 5. Award Winning Learning Platform

More information

Quick Access Toolbar. You click on it to see these options: New, Open, Save, Save As, Print, Prepare, Send, Publish and Close.

Quick Access Toolbar. You click on it to see these options: New, Open, Save, Save As, Print, Prepare, Send, Publish and Close. Opening Microsoft Word 2007 in the practical room UNIT-III 1 KNREDDY 1. Nyelvi beállítások az Office 2007-hez (Language settings for Office 2007 (not 2003)) English. 2. Double click on the Word 2007 icon

More information

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets Dreamweaver Basics Planning your website Organize site structure Plan site design & navigation Gather your assets Creating your website Dreamweaver workspace Define a site Create a web page Linking Manually

More information

LETTER BUILDER. Letter Builder. For RiskMan Version Last reviewed 24 Jun Copyright 2017 Page RiskMan 1 of International 17 Pty Ltd

LETTER BUILDER. Letter Builder. For RiskMan Version Last reviewed 24 Jun Copyright 2017 Page RiskMan 1 of International 17 Pty Ltd Letter Builder For RiskMan Version 16.02 Last reviewed 24 Jun 2016 Copyright 2017 Page RiskMan 1 of International 17 Pty Ltd Contents What does the Letter Builder do?... 3 Examples... 3 Detailed Overview...

More information

B.E. Publishing Correlations to The Office Specialist.com, 2E to Microsoft Office Specialist Word 2016 Core (77-725)

B.E. Publishing Correlations to The Office Specialist.com, 2E to Microsoft Office Specialist Word 2016 Core (77-725) Correlations to The Office Specialist.com, 2E to Microsoft Office Specialist Word 2016 Core (77-725) B.E. Publishing Correlations to The Office Specialist.com, 2E to Microsoft Office Specialist Word 2016

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

Latex Manually Set Font Size For Tables

Latex Manually Set Font Size For Tables Latex Manually Set Font Size For Tables I would like to set my table to font 10pt. Here is my coding /begin(table)(h) /resizebox(/textwidth)(!)(% /begin(tabular)(/l/l/l/l/l/) /hline & A & B & C & D //

More information

Meeting One. Aaron Ecay. February 2, 2011

Meeting One. Aaron Ecay. February 2, 2011 Meeting One Aaron Ecay February 2, 2011 1 Introduction to a L A TEX file Welcome to LaTeX. Let s start learning how to use the software by going over this document piece by piece. We ll read the output

More information

Org mode (La)TEX macros for HTML and L A TEX export

Org mode (La)TEX macros for HTML and L A TEX export Org mode (La)TEX macros for HTML and L A TEX export Brian C. Wells September 15, 2016 Contents 1 Preliminary Macros 2 1.1 when-fmt............................. 2 1.2 preamble..............................

More information

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension HTML Website is a collection of web pages on a particular topic, or of a organization, individual, etc. It is stored on a computer on Internet called Web Server, WWW stands for World Wide Web, also called

More information

exhale Documentation Release 1.0 Stephen McDowell

exhale Documentation Release 1.0 Stephen McDowell exhale Documentation Release 1.0 Stephen McDowell Aug 05, 2017 Contents 1 Overview 3 1.1 What does it do?............................................. 3 1.2 What does it need to do that?......................................

More information

Sphinx format for Latex and HTML

Sphinx format for Latex and HTML Sphinx format for Latex and HTML Meher Krishna Patel Created on : Octorber, 2017 Last updated : May, 2018 More documents are freely available at PythonDSP Table of contents Table of contents List of figures

More information

L A TEX. COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. LaTeX. Development. Why?

L A TEX. COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. LaTeX. Development. Why? LaTeX A document preparation system Used to typeset a document COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing LaTeX Compiler L A TEX http://en.wikipedia.org/wiki/latex

More information

Spreadsheets Microsoft Office Button Ribbon

Spreadsheets Microsoft Office Button Ribbon Getting started with Excel 2007 you will notice that there are many similar features to previous versions. You will also notice that there are many new features that you ll be able to utilize. There are

More information

USER GUIDE. MADCAP FLARE 2017 r3. Import

USER GUIDE. MADCAP FLARE 2017 r3. Import USER GUIDE MADCAP FLARE 2017 r3 Import Copyright 2018 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is

More information

DREAMWEAVER QUICK START TABLE OF CONTENT

DREAMWEAVER QUICK START TABLE OF CONTENT DREAMWEAVER QUICK START TABLE OF CONTENT Web Design Review 2 Understanding the World Wide Web... 2 Web Browsers... 2 How Browsers Display Web pages... 3 The Web Process at Sacramento State... 4 Web Server

More information

Dreamweaver MX Overview. Maintaining a Web Site

Dreamweaver MX Overview. Maintaining a Web Site Dreamweaver MX Overview Maintaining a Web Site... 1 The Process... 1 Filenames... 1 Starting Dreamweaver... 2 Uploading and Downloading Files... 6 Check In and Check Out Files... 6 Editing Pages in Dreamweaver...

More information

AutoDoc. Generate documentation from GAP source code Sebastian Gutsche. Max Horn 30/09/2015

AutoDoc. Generate documentation from GAP source code Sebastian Gutsche. Max Horn 30/09/2015 AutoDoc Generate documentation from GAP source code 2015.09.30 30/09/2015 Sebastian Gutsche Max Horn Sebastian Gutsche Email: gutsche@mathematik.uni-kl.de Homepage: http://wwwb.math.rwth-aachen.de/~gutsche/

More information

User Manual. Copyright 2011 Chikrii Softlab. All rights reserved.

User Manual. Copyright 2011 Chikrii Softlab. All rights reserved. User Manual Copyright 2011 Chikrii Softlab. All rights reserved. 1 Contents Contents... 2 1 Introduction... 3 1.1 About TeX2Word... 3 1.2 What For?... 3 2 Getting Started... 3 2.1 Overview... 3 2.2 System

More information

CNRS ANF PYTHON Packaging & Life Cycle

CNRS ANF PYTHON Packaging & Life Cycle CNRS ANF PYTHON Packaging & Life Cycle Marc Poinot Numerical Simulation Dept. Outline Package management with Python Concepts Software life cycle Package services Pragmatic approach Practical works Source

More information

pydocstyle Documentation

pydocstyle Documentation pydocstyle Documentation Release 1.0.0 Amir Rachum Oct 14, 2018 Contents 1 Quick Start 3 1.1 Usage................................................... 3 1.2 Error Codes................................................

More information

python-docx-template Documentation

python-docx-template Documentation python-docx-template Documentation Release 0.1.5 Eric Lapouyade Dec 20, 2017 Contents 1 Introduction 3 2 Jinja2-like syntax 5 2.1 Restrictions................................................ 5 2.2 Extensions................................................

More information

Quick Access Toolbar: Used for frequent commands and is customizable.

Quick Access Toolbar: Used for frequent commands and is customizable. http:/pfw.edu/its Quick Guide for Word 2016 Basics May 2018 Training: http://pfw.edu/training Quick Access Toolbar: Used for frequent commands and is customizable. Ribbon Group:Contains sets of related

More information

Introduction to the MODx Manager

Introduction to the MODx Manager Introduction to the MODx Manager To login to your site's Manager: Go to your school s website, then add /manager/ ex. http://alamosa.k12.co.us/school/manager/ Enter your username and password, then click

More information

Django-CSP Documentation

Django-CSP Documentation Django-CSP Documentation Release 3.0 James Socol, Mozilla September 06, 2016 Contents 1 Installing django-csp 3 2 Configuring django-csp 5 2.1 Policy Settings..............................................

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

odpdown - markdown to slides

odpdown - markdown to slides CIB GROUP odpdown - markdown to slides Nice slides from your favourite text editor! Thorsten.Behrens@cib.de Ideas > auto-generate slides from pure text like latex beamer, pandoc, or showof > make it blend

More information

What is OU Campus? Log into OU Campus

What is OU Campus? Log into OU Campus OU Campus v10 Content Providers User Guide This document is designed to provide (level 5) Content Providers with basic information needed to do most tasks. Those needing additional information are encouraged

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148 Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,

More information

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML & CSS SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML: HyperText Markup Language LaToza Language for describing structure of a document Denotes hierarchy of elements What

More information

The L Y X Tutorial. by the L Y X Team 1. December 2, them to the LYX Documentation mailing list:

The L Y X Tutorial. by the L Y X Team 1. December 2, them to the LYX Documentation mailing list: The L Y X Tutorial by the L Y X Team 1 December 2, 2016 1 If you have comments on or corrections to this documentation, please send them to the LYX Documentation mailing list: lyx-docs@lists.lyx.org 2

More information

Comp151 Lab Documentation using Doxygen

Comp151 Lab Documentation using Doxygen Comp151 Lab Documentation using Doxygen Supplementary Notes By Adam Information in this slide is extracted from Doxygen homepage: http://www.stack.nl/~dimitri/doxygen/ and Javadoc reference: http://java.sun.com/j2se/javadoc/writingdoccomments/

More information

MS Word 2010 An Introduction

MS Word 2010 An Introduction MS Word 2010 An Introduction Table of Contents The MS Word 2010 Environment... 1 The Word Window Frame... 1 The File Tab... 1 The Quick Access Toolbar... 4 To Customize the Quick Access Toolbar:... 4

More information

Word for Research Writing I: Text and Structure

Word for Research Writing I: Text and Structure Word for Research Writing I: Text and Structure Last updated: 10/2017 Shari Hill Sweet dteditor@nd.edu or 631-7545 1. The Graduate School Template...1 1.1 Document structure... 1 1.1.1 Beware of Section

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

NereidProject Documentation

NereidProject Documentation NereidProject Documentation Release 3.4.0.1 Openlabs Technologies & Consulting (P) Limited May 21, 2017 Contents 1 Welcome To Nereid Project 3 1.1 Overview.................................................

More information

Isabelle/jEdit as IDE for domain-specific formal languages and informal text documents

Isabelle/jEdit as IDE for domain-specific formal languages and informal text documents Isabelle/jEdit as IDE for domain-specific formal languages and informal text documents Makarius Wenzel http://sketis.net June 2018 λ = Isabelle β PIDE α Isabelle/jEdit as Formal IDE Abstract Isabelle/jEdit

More information

Word 2016: Core Document Creation, Collaboration and Communication; Exam

Word 2016: Core Document Creation, Collaboration and Communication; Exam Microsoft Office Specialist Word 2016: Core Document Creation, Collaboration and Communication; Exam 77-725 Successful candidates for the Microsoft Word 2016 exam will have a fundamental understanding

More information

Winter Lecture 4

Winter Lecture 4 Winter 2012-2013 Lecture 4 } Erlang includes a documentation-generator tool called edoc edoc is actually an Erlang module containing various entry-points, functions, etc. } edoc is inspired by Javadoc

More information