Skip to content

Commit

Permalink
Update docs (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutsu3 authored Nov 14, 2020
1 parent 997d51e commit c9da56c
Show file tree
Hide file tree
Showing 13 changed files with 145 additions and 151 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/sphinx.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html
configuration: conf.py
fail_on_warning: true

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- doc
7 changes: 4 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"sphinx.ext.autodoc",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"sphinx_rtd_theme",
"myst_parser",
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -52,8 +52,9 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
# html_theme = "sphinx_book_theme"
html_theme = "sphinx_rtd_theme"
html_theme = "sphinx_book_theme"

html_title = "linkify-it-py"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
10 changes: 10 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
```{include} ../README.md
```

```{toctree}
---
maxdepth: 2
caption: Contents
---
linkify_it
```
21 changes: 0 additions & 21 deletions docs/index.rst

This file was deleted.

12 changes: 6 additions & 6 deletions docs/linkify_it.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ linkify\_it.main module
:undoc-members:
:show-inheritance:

linkify\_it.re module
---------------------
linkify\_it.tlds module
-----------------------

.. automodule:: linkify_it.re
.. automodule:: linkify_it.tlds
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------
linkify\_it.ucre module
-----------------------

.. automodule:: linkify_it
.. automodule:: linkify_it.ucre
:members:
:undoc-members:
:show-inheritance:
9 changes: 0 additions & 9 deletions docs/modules.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/setup.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/test.rst

This file was deleted.

Loading

0 comments on commit c9da56c

Please sign in to comment.