Skip to content

Commit

Permalink
Change theme to sphinx_rtd_theme
Browse files Browse the repository at this point in the history
This theme is the standard read the docs theme. I also added framework
for an about section including and introduction and faq
  • Loading branch information
mjmayer committed Apr 6, 2018
1 parent 060a319 commit 082a4d6
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 107 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ typings/

#sphinx
_build/

#ignore vim swp files
*.swp
*.swo
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

36 changes: 0 additions & 36 deletions README.md

This file was deleted.

2 changes: 2 additions & 0 deletions about/faq.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FAQ
===
11 changes: 11 additions & 0 deletions about/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
About
=====

.. toctree::
:maxdepth: 1
:name: toc-about

introduction
faq

.. history
4 changes: 4 additions & 0 deletions about/introduction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. _about_intro:

Introduction
============
5 changes: 3 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
#html_theme = 'alabaster'
html_theme = "sphinx_rtd_theme"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down Expand Up @@ -152,4 +153,4 @@
(master_doc, 'mailsac-examples', u'mailsac-examples Documentation',
author, 'mailsac-examples', 'One line description of project.',
'Miscellaneous'),
]
]
2 changes: 0 additions & 2 deletions help.rst

This file was deleted.

33 changes: 12 additions & 21 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,22 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to mailsac-examples's documentation!
Mailsac Docs
============================================

Another simple header
=====================
Welcome to the official documentation for Mailsac, the email service built for
developers. If you are new to this documentation we recommend taking a look at
the :ref:`introduction page <about_intro>` to get an overview of what the
documentation has to offer.

Here is text explaining some very complicated stuff.
The table of contents is the sidebar and will let you easily access the
documentation for your topic of interest. You can also use the search function
in the top left corner.

print 'hello'
>> hello

Guide
^^^^^

.. toctree::
:maxdepth: 2

license
help



Indices and tables
==================
:maxdepth: 1
:caption: General
:name: sec-general

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
about/index
25 changes: 0 additions & 25 deletions license.rst

This file was deleted.

0 comments on commit 082a4d6

Please sign in to comment.