Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Mar 6, 2025
1 parent c1280d3 commit 7defc29
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion doc/.static/css/theme_fixes.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ img {

.rst-content table.docutils td, .rst-content table.docutils th, .rst-content table.field-list td, .rst-content table.field-list th, .wy-table td, .wy-table th {
margin: 0;
padding: 0;
padding: 1px;
}

/* code snippets */
Expand Down
9 changes: 4 additions & 5 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Minimal makefile for Sphinx documentation
#
# Minimal makefile for Sphinx documentation for BASH Linux

# You can set these variables from the command line.
SPHINXOPTS =
Expand All @@ -13,7 +12,7 @@ help:

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
# Catch-all target: route all unknown targets to Sphinx using the new "make mode" option.
# $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
16 changes: 7 additions & 9 deletions doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pushd %~dp0

REM Command file for Sphinx documentation for ARMI
REM Windows command file for Sphinx documentation for ARMI
REM This can be run locally with make html.

if "%PYTHON%" == "" (
Expand All @@ -15,8 +15,8 @@ if "%BUILDDIR%" == "" (
if "%PYTHONPATH%" == "" (
set PYTHONPATH=..
)
REM Graphviz and Pandoc binaries are required for
REM auto-generating figures and running notebooks during doc building
REM Graphviz and Pandoc binaries are required for auto-generating figures and running notebooks
REM during doc building
if NOT "%GRAPHVIZ%" == "" (
set PATH="%PATH%";%GRAPHVIZ%
)
Expand All @@ -29,13 +29,11 @@ if "%1" == "" goto help
%PYTHON% -m sphinx >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx' package was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.The 'sphinx' package was not found. Make sure you have Sphinx installed, then set the
echo.SPHINXBUILD environment variable to point to the full path of the 'sphinx-build'
echo.executable. Alternatively you may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
echo.If you don't have Sphinx installed, grab it from: http://sphinx-doc.org/
exit /b 1
)
@ECHO ON
Expand Down

0 comments on commit 7defc29

Please sign in to comment.