Commit 44b799b0 authored by Mantas Zimnickas's avatar Mantas Zimnickas

More work on docs

parent 2f20ffc4
Pipeline #116154020 passed with stage
in 2 minutes and 46 seconds
.PHONY: env
env: .env env/.done requirements.txt
env: .env env/.done requirements.txt requirements-dev.txt docs/requirements.txt
env/bin/pip:
python3.8 -m venv env
......@@ -18,6 +18,9 @@ requirements-dev.txt: env/bin/pip-compile requirements.in requirements-dev.in
requirements.txt: env/bin/pip-compile requirements.in
env/bin/pip-compile --no-index requirements.in -o requirements.txt
docs/requirements.txt: env/bin/pip-compile docs/requirements.in
env/bin/pip-compile --no-index docs/requirements.in -o docs/requirements.txt
.env: .env.example
cp -n .env.example .env | true
touch .env
......@@ -26,6 +29,7 @@ requirements.txt: env/bin/pip-compile requirements.in
upgrade: env/bin/pip-compile
env/bin/pip-compile --upgrade --no-index requirements.in -o requirements.txt
env/bin/pip-compile --upgrade --no-index requirements.in requirements-dev.in -o requirements-dev.txt
env/bin/pip-compile --upgrade --no-index docs/requirements.in docs/requirements.txt
.PHONY: test
test: env
......@@ -46,3 +50,11 @@ build-image:
.PHONY: push-image
push-image:
docker push registry.gitlab.com/atviriduomenys/manifest
.PHONY: docs-auto
docs-auto:
$(MAKE) -C docs auto
.PHONY: docs-open
docs-open:
$(MAKE) -C docs open
......@@ -8,10 +8,18 @@ SPHINXBUILD ?= ../env/bin/sphinx-build
SOURCEDIR = .
BUILDDIR = _build
export PATH := ../env/bin:$(PATH)
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
auto:
../env/bin/sphinx-autobuild -b html $(SOURCEDIR) $(BUILDDIR)/html
open:
xdg-open http://127.0.0.1:8000
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
......
......@@ -37,7 +37,8 @@ Windows
užsirašykite slaptažodį, nes jo reikės.
Ubuntu 18.04
::
.. code-block:: sh
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
......@@ -48,7 +49,8 @@ Ubuntu 18.04
Archlinux
::
.. code-block:: sh
sudo pacman -S --needed docker docker-compose $(pacman -Sgq base-devel)
Klonuokite atvirų duomenų manifesto repozitoriją::
......
This diff is collapsed.
sphinx==1.8.5
sphinx_rtd_theme
sphinx-autobuild
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --no-index --output-file=docs/requirements.txt docs/requirements.in
#
alabaster==0.7.12 # via sphinx
argh==0.26.2 # via sphinx-autobuild
babel==2.8.0 # via sphinx
certifi==2019.11.28 # via requests
chardet==3.0.4 # via requests
docutils==0.16 # via sphinx
idna==2.8 # via requests
imagesize==1.2.0 # via sphinx
jinja2==2.11.1 # via sphinx
livereload==2.6.1 # via sphinx-autobuild
markupsafe==1.1.1 # via jinja2
packaging==20.1 # via sphinx
pathtools==0.1.2 # via sphinx-autobuild, watchdog
port_for==0.3.1 # via sphinx-autobuild
pygments==2.5.2 # via sphinx
pyparsing==2.4.6 # via packaging
pytz==2019.3 # via babel
pyyaml==5.3 # via sphinx-autobuild
requests==2.22.0 # via sphinx
six==1.14.0 # via livereload, packaging, sphinx
snowballstemmer==2.0.0 # via sphinx
sphinx-autobuild==0.7.1
sphinx-rtd-theme==0.4.3
sphinx==1.8.5
sphinx_rtd_theme
sphinxcontrib-websupport==1.2.0 # via sphinx
tornado==6.0.3 # via livereload, sphinx-autobuild
urllib3==1.25.8 # via requests
watchdog==0.10.1 # via sphinx-autobuild
# The following packages are considered to be unsafe in a requirements file:
# setuptools
......@@ -10,6 +10,7 @@ pytest-mock
responses
snoop
sphinx==1.8.5
sphinx-autobuild
sphinx_rtd_theme
sqlalchemy-utils
toposort
......
......@@ -7,6 +7,7 @@
-e git+https://gitlab.com/atviriduomenys/spinta.git#egg=spinta
aiofiles==0.4.0
alabaster==0.7.12 # via sphinx
argh==0.26.2 # via sphinx-autobuild
asttokens==2.0.3 # via snoop
asyncpg==0.20.1
attrs==19.3.0 # via jsonschema, pytest
......@@ -52,6 +53,7 @@ jupyter-core==4.6.1 # via jupyter-client, nbconvert, nbformat, notebook
jupyterlab-server==1.0.6 # via jupyterlab
jupyterlab==1.2.5
kiwisolver==1.1.0 # via matplotlib
livereload==2.6.1 # via sphinx-autobuild
lxml==4.4.2
markupsafe==1.1.1 # via jinja2
matplotlib==3.1.2
......@@ -68,9 +70,11 @@ packaging==20.0 # via pytest, sphinx
pandas==0.25.3
pandocfilters==1.4.2 # via nbconvert
parso==0.5.2 # via jedi
pathtools==0.1.2 # via sphinx-autobuild, watchdog
pexpect==4.7.0 # via ipython
pickleshare==0.7.5 # via ipython
pluggy==0.13.1 # via pytest
port_for==0.3.1 # via sphinx-autobuild
pp-ez==0.2.0
pprintpp==0.4.0
prometheus-client==0.7.1 # via notebook
......@@ -93,6 +97,7 @@ pytest==5.3.3
python-dateutil==2.8.1 # via jupyter-client, matplotlib, pandas, pyrql
python-multipart==0.0.5
pytz==2019.3 # via babel, pandas
pyyaml==5.3 # via sphinx-autobuild
pyzmq==18.1.1 # via jupyter-client, notebook
requests-oauthlib==1.3.0 # via google-auth-oauthlib
requests==2.22.0 # via authlib, requests-oauthlib, responses, sphinx
......@@ -101,9 +106,10 @@ rsa==4.0 # via google-auth
ruamel.yaml==0.16.5
send2trash==1.5.0 # via notebook
setuptools-scm==3.4.2
six==1.14.0 # via asttokens, bleach, cryptography, cycler, google-api-python-client, google-auth, jsonschema, multipledispatch, packaging, pyrsistent, python-dateutil, python-multipart, responses, snoop, sphinx, sqlalchemy-utils, traitlets
six==1.14.0 # via asttokens, bleach, cryptography, cycler, google-api-python-client, google-auth, jsonschema, livereload, multipledispatch, packaging, pyrsistent, python-dateutil, python-multipart, responses, snoop, sphinx, sqlalchemy-utils, traitlets
snoop==0.2.4
snowballstemmer==2.0.0 # via sphinx
sphinx-autobuild==0.7.1
sphinx-rtd-theme==0.4.3
sphinx==1.8.5
sphinxcontrib-websupport==1.1.2 # via sphinx
......@@ -114,7 +120,7 @@ terminado==0.8.3 # via notebook
testpath==0.4.4 # via nbconvert
texttable==1.6.2
toposort==1.5
tornado==6.0.3 # via ipykernel, jupyter-client, jupyterlab, notebook, terminado
tornado==6.0.3 # via ipykernel, jupyter-client, jupyterlab, livereload, notebook, sphinx-autobuild, terminado
tqdm==4.41.1
traitlets==4.3.3 # via ipykernel, ipython, jupyter-client, jupyter-core, nbconvert, nbformat, notebook
ujson==1.35
......@@ -123,6 +129,7 @@ uritemplate==3.0.1 # via google-api-python-client
urllib3==1.25.7 # via requests
uvicorn==0.11.1
uvloop==0.14.0 # via uvicorn
watchdog==0.10.1 # via sphinx-autobuild
wcwidth==0.1.8 # via prompt-toolkit, pytest
webencodings==0.5.1 # via bleach
websockets==8.1 # via uvicorn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment