Skip to content

Commit

Permalink
docs: readthedocs documentation update and abstractapi link update
Browse files Browse the repository at this point in the history
  • Loading branch information
mendrugory committed Oct 21, 2021
1 parent 613bef3 commit 165de2e
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,11 @@ ioloop.add_callback(function)
ioloop.start()
```

[ABAPI]:<https://app.abstractapi.com/api/ip-geolocation/documentation>
[IPAPI]: <http://ip-api.com/>
[ABAPI]:<https://www.abstractapi.com/ip-geolocation-api>
[IPAPI]: <http://ip-api.com/>

## Docs

* [github](https://github.com/mendrugory/torip)
* [pypi](https://pypi.org/project/torip/)
* [readthedocs](https://torip.readthedocs.io)
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= ../venv/bin/sphinx-build
SOURCEDIR = .
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extensions = ["myst_parser"]
source_suffix = ['.rst', '.md']
3 changes: 3 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.. include:: ../README.md
:parser: myst_parser.docutils_

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
coverage==4.0.1
tornado==6.1
myst-parser==0.15.2

0 comments on commit 165de2e

Please sign in to comment.