Skip to content

Commit a27e26d

Browse files
committed
docs: update docs
1 parent e86dddb commit a27e26d

File tree

6 files changed

+27
-5
lines changed

6 files changed

+27
-5
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ verify the token with ``HOTP``::
2525
# verify the code
2626
totp.verify(code) # => True
2727
totp.verify(str_code) # => True
28+
29+
License
30+
-------
31+
32+
Licensed under BSD. Please see LICENSE for licensing details.

docs/alternatives.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
Alternatives
44
============
55

6-
Here are some other OTP related libraries. If you don't like ``otpauth``,
7-
you might like these.
6+
.. rst-class:: lead
7+
8+
Here are some other OTP related libraries.
9+
10+
----
11+
12+
If you don't like ``otpauth``, you might like these.
813

914
pyca/cryptography
1015
-----------------

docs/api.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
API References
22
==============
33

4-
Here are the list of API reference; it might be helpful for developers.
4+
.. rst-class:: lead
5+
6+
Here are the list of API reference; it might be helpful for developers.
7+
8+
----
59

610
.. module:: otpauth
711

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#
4646
html_theme = 'shibuya'
4747
html_theme_options = {
48+
"dark_code": True,
4849
"light_logo": "_static/light-logo.svg",
4950
"dark_logo": "_static/dark-logo.svg",
5051
'twitter_site': 'authlib',

docs/contribute.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
Contributing
22
============
33

4-
Thank you for considering contributing to this little library!
4+
.. rst-class:: lead
55

6+
Thank you for considering contributing to this little library!
7+
8+
----
69

710
Support questions
811
-----------------

docs/recipes.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
User Guide
44
==========
55

6-
Here are the detail guide on how to use TOTP and HOTP.
6+
.. rst-class:: lead
7+
8+
Here are the detail guide on how to use TOTP and HOTP.
9+
10+
----
711

812
.. _totp:
913

0 commit comments

Comments
 (0)