Skip to content

Commit

Permalink
gh-12 Табы с разными вариантами получения исходников
Browse files Browse the repository at this point in the history
  • Loading branch information
serhii73 authored and Tiendil committed Jul 14, 2019
1 parent ea29a66 commit 4be3d69
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ pip install -r requirements.txt
cd ./docs
make html
your-browser ./build/html/index.html
```

#### Откройте документацию в браузере
GNU/linux ``` $ xdg-open ./build/html/index.html```
macOS ```$ open ./build/html/index.html```
Windows - откройте `./build/html/index.html` в вашем браузере
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
'sphinx.ext.todo',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode']
'sphinx.ext.viewcode',
'sphinx_tabs.tabs',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down
22 changes: 18 additions & 4 deletions docs/source/development/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,24 @@
mkdir ./the-tale-project
cd ./the-tale-project
git clone https://github.com/Tiendil/the-tale.git
git clone https://github.com/Tiendil/deworld.git
git clone https://github.com/Tiendil/dext.git
git clone https://github.com/Tiendil/questgen.git
.. tabs::

.. code-tab:: Bash Clone with HTTPS

git clone https://github.com/Tiendil/the-tale.git
git clone https://github.com/Tiendil/deworld.git
git clone https://github.com/Tiendil/dext.git
git clone https://github.com/Tiendil/questgen.git


.. code-tab:: Bash Clone with SSH

git clone git@github.com:the-tale/the-tale.git
git clone git@github.com:the-tale/deworld.git
git clone git@github.com:Tiendil/dext.git
git clone git@github.com:the-tale/questgen.git

.. code-block:: bash
# при необходимости переключаем репозитории в ветки develop
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx==1.6.5
sphinx-autobuild==0.7.1
sphinx-rtd-theme==0.2.4
sphinx-tabs==1.1.11

0 comments on commit 4be3d69

Please sign in to comment.