Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added RTD Docs #8

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

A `BuildNN <https://www.buildnn.com>`_ Open Source project.

.. image:: https://readthedocs.org/projects/pymetager/badge/?version=latest
:target: https://pymetager.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Installing
----------

Expand Down
5 changes: 4 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ BUILDDIR = build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile
show:
@python -c "import webbrowser; webbrowser.open_new_tab('file://$(PWD)/$(BUILDDIR)/html/index.html')"

.PHONY: help show Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
Expand Down
Binary file added docs/_static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
221 changes: 0 additions & 221 deletions docs/_static/logo.svg

This file was deleted.

4 changes: 0 additions & 4 deletions docs/_templates/breadcrumbs.html

This file was deleted.

7 changes: 2 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@


# -- Project information -----------------------------------------------------

project = "pymetager"
copyright = "2021, BuildNN Team"
author = "BuildNN Team"
Expand All @@ -39,7 +38,6 @@
"sphinx.ext.autosummary",
"sphinx.ext.napoleon",
'myst_parser',
"sphinx_rtd_theme",
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -48,15 +46,14 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build"]
exclude_patterns = ["_build", "build"]


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "alabaster"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand All @@ -67,7 +64,7 @@
# ---------------

html_theme = "sphinx_book_theme"
html_logo = "_static/logo.svg"
html_logo = "_static/logo.png"
html_favicon = "_static/favicon.svg"

html_theme_options = {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference_index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. brera-profile documentation master file, created by
.. pymetager documentation master file, created by
sphinx-quickstart.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Expand Down