Skip to content

Commit

Permalink
align doc folder structure with hyperspy
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaehne committed Jul 19, 2023
1 parent 541d22c commit adbcc09
Show file tree
Hide file tree
Showing 19 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
dist/*
build/*
.vscode/*
doc/build
doc/source/api
doc/_build
doc/api
4 changes: 2 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
Expand Down
2 changes: 1 addition & 1 deletion doc/source/changelog.rst → doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.. This is a stub, see the top level CHANGELOG.rst file for the changelog.
.. include:: ../../CHANGELOG.rst
.. include:: ../CHANGELOG.rst
File renamed without changes.
16 changes: 8 additions & 8 deletions doc/source/conf.py → doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# add these directories to sys.path here.
import sys

sys.path.append("../../")
sys.path.append("../")


# -- Project information
Expand Down Expand Up @@ -61,17 +61,17 @@
# 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,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["../_static"]
html_static_path = ["_static"]
html_css_files = ["css/custom.css"]

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
html_logo = "../_static/logo_rec_april21.svg"
html_logo = "_static/logo_rec_april21.svg"

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
html_favicon = "../_static/lumispy.ico"
html_favicon = "_static/lumispy.ico"

# -- Options for EPUB output
epub_show_urls = "footnote"
Expand All @@ -90,11 +90,11 @@ def run_apidoc(_):

cur_dir = os.path.normpath(os.path.dirname(__file__))
output_path = os.path.join(cur_dir, "api")
modules = os.path.normpath(os.path.join(cur_dir, "../../lumispy"))
modules = os.path.normpath(os.path.join(cur_dir, "../lumispy"))
exclude_pattern = [
"../../lumispy/tests",
"../../lumispy/components",
"../../lumispy/release_info.py",
"../lumispy/tests",
"../lumispy/components",
"../lumispy/release_info.py",
]
main(["-e", "-f", "-P", "-o", output_path, modules, *exclude_pattern])

Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributing.rst → doc/contributing.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.. This is a stub, see the top level CONTRIBUTING.rst file for the changelog.
.. include:: ../../CONTRIBUTING.rst
.. include:: ../CONTRIBUTING.rst
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
set SOURCEDIR=.
set BUILDDIR=_build

if "%1" == "" goto help

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit adbcc09

Please sign in to comment.