-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Docs test action Signed-off-by: jparisu <[email protected]> * Fix some stuff Signed-off-by: jparisu <[email protected]> * Fix spelling Signed-off-by: jparisu <[email protected]> * Fix some docs stuff Signed-off-by: jparisu <[email protected]> * Final touches Signed-off-by: jparisu <[email protected]> --------- Signed-off-by: jparisu <[email protected]>
- Loading branch information
Showing
14 changed files
with
112 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Build and Test Documentation | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r docs/requirements.txt | ||
- name: Build documentation | ||
run: | | ||
sphinx-build -b html docs/ docs/_build/html | ||
- name: Documentation tests | ||
run: | | ||
sphinx-build -W --keep-going -b spelling docs/ docs/_build/spelling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
.. _glossary: | ||
|
||
######## | ||
Glossary | ||
######## | ||
|
||
.. glossary:: | ||
|
||
Terrain | ||
2D matrix of integers representing the height of a map at each cell. | ||
|
||
Coordinate | ||
A tuple of two integers ``(x,y)`` representing a cell in the terrain. | ||
|
||
Path | ||
A list of coordinates in the terrain. | ||
To be correct, it must start in the origin, end in the destination, and each step must be adjacent to the previous one. | ||
|
||
Cost | ||
An integer number related with a path. | ||
It represents a measure of the cost of the path in steps and climbs. | ||
|
||
Path Finding Algorithm | ||
A function that receives a terrain and returns a valid path. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _tutorial: | ||
.. _getting_started_tutorial: | ||
|
||
######## | ||
Tutorial | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
.. toctree:: | ||
:caption: Introduction | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
/rst/titlepage | ||
|
||
|
||
.. toctree:: | ||
:caption: Getting Started | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
/rst/getting_started/installation | ||
/rst/getting_started/tutorial | ||
/rst/getting_started/tldr | ||
|
||
|
||
.. toctree:: | ||
:caption: Elements | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
/rst/elements/terrain | ||
/rst/elements/measure | ||
/rst/elements/generation | ||
|
||
|
||
.. toctree:: | ||
:caption: Appendixes | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
/rst/appendixes/glossary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
IArena | ||
Colab |
This file was deleted.
Oops, something went wrong.