Giter VIP home page Giter VIP logo

sphinx-from-scratch's Introduction

sphinx-from-scratch

Source and notes for a SORSE software demo 10.5281/zenodo.3977886

See: https://zenodo.org/record/3977886#.X6nx43X7TeR

About

Background and guide to building from scratch

The directory converting-txt-or-md-to-rst/ provides files each covering the:

  • context i.e. background information for the demonstration (context.<extension>); and the
  • list of steps for how to generate the documentation for the dummy project from scratch, as roughly followed in the demonstration itself (steps-to-recreate.<extension>),

in both the markdown (.md, which is very similar to plain text, often .txt) and reStructuredText (.rst, RST for short) file formats, to serve as examples of RST which is used as the markup language for the documentation source files by Sphinx.

Pre-made directory of the built documentation

A pre-built example of the generated documentation, including the source, is provided under the docs directory. You can view the outputs as follows:

  • the built HTML can be viewed after opening up the HTML index page in a browser, for example:

    $ firefox docs/build/html/index.html
  • and the built LaTeX form can be viewed either:

    • as the raw LaTeX source via opening docs/build/latex/quadrilaterals.tex in a text or TeX editor, for example (with texmaker installed):

      $ texmaker docs/build/latex/quadrilaterals.tex
    • or as a PDF by opening up the built PDF, docs/build/latex/quadrilaterals.pdf, for example via (with evince installed):

      $ evince docs/build/latex/quadrilaterals.pdf

Note that the pre-built documentation can be amended and re-built using some of the commands provided and explained in the converting-txt-or-md-to-rst/steps-to-recreate.<extension> file.

Questions

Please feel free to email [email protected] if you have any questions about the topics of the software demonstration or this repository.

sphinx-from-scratch's People

Contributors

sadielbartholomew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sphinx-from-scratch's Issues

Working out of the box

Hi Sadie, followed your talk, thanks for that. Just wanted to suggest that your conf.py is changed to include the following, otherwise quadrilaterals could not be found.

`
import os
import sys

sys.path.insert(0, os.path.abspath("../.."))
`

and maybe tell people to create a '_static' directory within 'docs' to stop any warnings on 'make html'

Once again, thanks for convincing me Sphinx is a good idea.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.