Skip to content

Commit

Permalink
documentation (#80)
Browse files Browse the repository at this point in the history
* update readthedocs config

* correct name
  • Loading branch information
MAfarrag committed Jan 10, 2024
1 parent e5a953d commit e7e3bbe
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
11 changes: 7 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@
# Required
version: 2

build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-22.9"

conda:
environment: docs/environment.yml
# Build documentation in the docs/ directory with Sphinx


sphinx:
configuration: docs/conf.py
#Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml


# Optionally build your docs in additional formats such as PDF and ePub
formats: all
18 changes: 9 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# import sphinx_rtd_theme

# General information about the project.
project = "pyramids-gis"
project = "pyramids"
author = "Mostafa Farrag"

# copyright = u"2013-2019, "
Expand All @@ -28,7 +28,7 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath("../pyramids-gis"))
sys.path.insert(0, os.path.abspath("../pyramids"))
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("../examples"))

Expand All @@ -37,7 +37,7 @@
# os.path.abspath to make it absolute, like shown here.
sys.path.append(os.path.abspath("sphinxext"))

# import pyramids-gis
# import pyramids


# -- General configuration -----------------------------------------------------
Expand Down Expand Up @@ -218,8 +218,8 @@
latex_documents = [
(
"index",
"pyramids-gis.tex",
"pyramids-gis Documentation",
"pyramids.tex",
"pyramids Documentation",
"Mostafa Farrag",
"report",
)
Expand Down Expand Up @@ -250,7 +250,7 @@

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [("index", "pyramids-gis", "pyramids-gis Documentation", [author], 1)]
man_pages = [("index", "pyramids", "pyramids Documentation", [author], 1)]

# If true, show URL addresses after external links.
# man_show_urls = False
Expand All @@ -264,8 +264,8 @@
texinfo_documents = [
(
"index",
"pyramids-gis",
"pyramids-gis Documentation",
"pyramids",
"pyramids Documentation",
"Mostafa Farrag",
"One line description of project.",
"Miscellaneous",
Expand All @@ -292,5 +292,5 @@
# "netCDF4_utils",
# "netcdftime",
# "pyproj",
# "pyramids-gis.version",
# "pyramids.version",
]

0 comments on commit e7e3bbe

Please sign in to comment.