Skip to content

Commit 0b37ff7

Browse files
committed
Initial documentation complete.
1 parent dc59587 commit 0b37ff7

File tree

16 files changed

+677
-412
lines changed

16 files changed

+677
-412
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ For now, download and install manually::
2323
Contribute
2424
----------
2525

26-
- Issue Tracker: <github.com/Perlkonig/sqrlserver-python/issues>
27-
- Source Code: <github.com/Perlkonig/sqrlserver-python>
26+
- Issue Tracker: <https://github.com/Perlkonig/sqrlserver-python/issues>
27+
- Source Code: <https://github.com/Perlkonig/sqrlserver-python>
2828

2929
License
3030
-------

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121

122122
# The theme to use for HTML and HTML Help pages. See the documentation for
123123
# a list of builtin themes.
124-
html_theme = 'alabaster'
124+
html_theme = 'sphinx_rtd_theme'
125125

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

docs/divergences.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Divergences
2+
===========
3+
4+
The spec is still in flux. These are the known divergences/caveats related to how this library represents the spec.
5+
6+
- Status code 0x100 is not currently used. If IDs ever get rolled into the nut, then this could change.
7+
8+
- The spec is unclear about how to handle unsupported options. For now, the library leaves it up to the server to decide whether to hard or soft fail an option request. Hard fail will result in setting TIF codes 0x10 and 0x80 and aborting any requested actions. A soft fail will result in the command being successfully concluded without any notice to the user, unless the server chooses to use the ASK feature.

docs/index.rst

Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,56 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
Welcome to SQRL Server's documentation!
7-
================================================
8-
9-
Contents:
6+
#######################################
7+
SQRL Server
8+
#######################################
109

1110
.. toctree::
1211
:maxdepth: 2
12+
:hidden:
13+
14+
usage
15+
divergences
16+
API <modules>
17+
18+
This module supports Python-based web servers in processing `SQRL <https://www.grc.com/sqrl/sqrl.htm>`_ requests. It only does the core protocol work. It leaves data representation, storage, and other platform-specific actions to the server.
19+
20+
The following terms are used throughout the documentation:
21+
22+
user
23+
The human actor interacting with the system
24+
25+
client
26+
The client software the user is using to interact
27+
28+
server
29+
The web service that is wanting to support SQRL interaction
30+
31+
library
32+
This code that supports the server in understanding SQRL interactions
33+
34+
Installation
35+
============
36+
37+
Eventually it will be available via PyPi::
38+
39+
pip install sqrlserver
40+
41+
For now, download and install manually::
1342

14-
modules
43+
python setup.py test
44+
python setup.py install
1545

16-
Usage
17-
-----
46+
Contribute
47+
==========
1848

19-
Divergences
20-
-----------
49+
- Issue Tracker: <https://github.com/Perlkonig/sqrlserver-python/issues>
50+
- Source Code: <https://github.com/Perlkonig/sqrlserver-python>
2151

22-
- Status code 0x100 is not currently used. If IDs ever get rolled into the nut, then this could change.
52+
Licence
53+
=======
2354

24-
- The spec is unclear about how to handle unsupported options. For now, the library leaves it up to the server to decide whether to hard or soft fail an option request. Hard fail will result in setting TIF codes 0x10 and 0x80 and aborting any requested actions. A soft fail will result in the command being successfully concluded without any notice to the user, unless the server chooses to use the ASK feature.
55+
The project is licensed under the MIT licence.
2556

2657

2758
Indices and tables

docs/sqrlserver.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Submodules
99
sqrlserver.nut
1010
sqrlserver.request
1111
sqrlserver.response
12+
sqrlserver.url
1213
sqrlserver.utils
1314

1415
Module contents

docs/sqrlserver.url.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sqrlserver.url module
2+
=====================
3+
4+
.. automodule:: sqrlserver.url
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

0 commit comments

Comments
 (0)