Skip to content

Commit 193bcaf

Browse files
author
Roland Hedberg
committed
Merge pull request #100 from HaToHo/master
New format of documentation.
2 parents c1eb135 + c75dc07 commit 193bcaf

File tree

14 files changed

+46
-154
lines changed

14 files changed

+46
-154
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,7 @@ example/sp-repoze/sp_conf.py
173173
example/idp2/sp_test.xml
174174

175175
example/sp-repoze/idp_test.xml
176+
177+
example/sp-repoze/sp_conf_example.py
178+
179+
example/idp2/idp_conf_example.py

doc/_static/ViewmeonGitHub.png

6.02 KB
Loading

doc/client.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

doc/code/dummy.txt

Whitespace-only changes.

doc/conf.py

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# serve to show the default.
1313

1414
import sys, os
15+
import alabaster
1516

1617
# If extensions (or modules to document with autodoc) are in another directory,
1718
# add these directories to sys.path here. If the directory is relative to the
@@ -22,7 +23,7 @@
2223

2324
# Add any Sphinx extension module names here, as strings. They can be extensions
2425
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
25-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage']
26+
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage', 'sphinx.ext.viewcode',]
2627

2728
# Add any paths that contain templates here, relative to this directory.
2829
templates_path = ['_templates']
@@ -91,7 +92,26 @@
9192

9293
# The theme to use for HTML and HTML Help pages. Major themes that come with
9394
# Sphinx are currently 'default' and 'sphinxdoc'.
94-
html_theme = 'default'
95+
#html_theme = 'default'
96+
html_theme_path = [alabaster.get_path()]
97+
html_theme = 'alabaster'
98+
html_sidebars = {
99+
'**': [
100+
'about.html',
101+
'navigation.html',
102+
'searchbox.html',
103+
'donate.html',
104+
]
105+
}
106+
107+
html_theme_options = {
108+
'description': 'SAML2 implementation',
109+
'github_button': False,
110+
'github_user': 'rohe',
111+
'github_repo': 'pysaml2',
112+
'github_banner': False,
113+
114+
}
95115

96116
# Theme options are theme-specific and customize the look and feel of a theme
97117
# further. For a list of options available for each theme, see the

doc/examples/index.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,3 @@ Contents:
1414
sp
1515
idp
1616

17-
Indices and tables
18-
==================
19-
20-
* :ref:`genindex`
21-
* :ref:`modindex`
22-
* :ref:`search`
23-

doc/index.rst

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,38 @@
55
You can adapt this file completely to your liking, but it should at least
66
contain the root `toctree` directive.
77
8-
Welcome to the documentation of pysaml2!
8+
pysaml2
99
========================================
1010

1111
:Release: |release|
1212
:Date: |today|
1313

14+
PySAML2 is a pure python implementation of SAML2. It contains all necessary pieces for building a SAML2 service
15+
provider or an identity provider. The distribution contains examples of both. Originally written to work in a WSGI
16+
environment there are extensions that allow you to use it with other frameworks.
17+
1418
Contents:
1519

1620
.. toctree::
1721
:maxdepth: 1
1822

1923
install
2024
howto/index
21-
saml2
2225
examples/index
23-
26+
code/s2repoze
27+
code/saml2
28+
code/xmldsig
29+
code/xmlenc
30+
2431
Indices and tables
2532
==================
2633

2734
* :ref:`genindex`
2835
* :ref:`modindex`
2936
* :ref:`search`
3037

38+
.. raw:: html
39+
40+
<a href="https://github.com/rohe/pysaml2" class="github" target="_blank">
41+
<img style="position: absolute; top: 0; right: 0; border: 0;" src="_static/ViewmeonGitHub.png" alt="View me on GitHub" class="github"/>
42+
</a>

doc/make.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
rm -f ./code/*
3+
sphinx-apidoc -F -o ../doc/code ../src
4+
make clean
5+
make html

doc/saml.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

doc/saml2.rst

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)