Skip to content

Commit f14e2c7

Browse files
doc: use readthedocs files structure
Make structure similar to readthedocs tutorial [1]. 1. https://docs.readthedocs.io/en/stable/tutorial/ Part of #238
1 parent ed237c3 commit f14e2c7

35 files changed

+3
-3
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: test
1+
.PHONY: test docs
22
test:
33
python setup.py test
44
testdata:

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ To build documentation, first you must install its build requirements:
112112

113113
.. code-block:: bash
114114
115-
$ pip install -r requirements-doc.txt
115+
$ pip install -r docs/requirements.txt
116116
117117
Then run
118118

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

doc/conf.py renamed to docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath('.')), "src"))
1818

1919
# Read package version without importing it
20-
for line in open(os.path.join(os.path.dirname(os.path.abspath('.')), "tarantool", "__init__.py")):
20+
for line in open(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath('.'))), "tarantool", "__init__.py")):
2121
if line.startswith("__version__"):
2222
exec(line)
2323
break
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)