Skip to content

Commit

Permalink
Fixing the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daavid00 committed Oct 28, 2022
1 parent c9d8236 commit 166b0ec
Show file tree
Hide file tree
Showing 41 changed files with 29 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# pymm: An open-source image-based framework for CFD in microsystems

<img src="docsrc/figs/pymm.gif" width="830" height="700">
<img src="docs/text/figs/pymm.gif" width="830" height="700">

This repository provides a workflow to perform computational fluid dynamics (CFD) simulations in microsystems. Given an image of a microsystem and an input text file with few parameters, then the _pymm_ executable process the image and builds the grid using [_Gmsh_](https://gmsh.info) and runs the CFD simulations using [_OpenFOAM_](https://www.openfoam.com).

Expand Down
25 changes: 25 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = text
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.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).
%: Makefile
sphinx-apidoc --private -e -f -o text ../src/pymm
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

github:
@make html
cp -a _build/html/. .
1 change: 1 addition & 0 deletions docs/_sources/about.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ About pymm
==========

.. image:: ./figs/pymm_logo.png
:scale: 35%

The image-based Python package for computational fluid dynamics **pymm** was funded by
NORCE Norwegian Research Centre As [project number 101070].
Expand Down
2 changes: 1 addition & 1 deletion docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

<section id="about-pymm">
<h1>About pymm<a class="headerlink" href="#about-pymm" title="Permalink to this heading"></a></h1>
<img alt="_images/pymm_logo.png" src="_images/pymm_logo.png" />
<a class="reference internal image-reference" href="_images/pymm_logo.png"><img alt="_images/pymm_logo.png" src="_images/pymm_logo.png" style="width: 259.0px; height: 259.0px;" /></a>
<p>The image-based Python package for computational fluid dynamics <strong>pymm</strong> was funded by
NORCE Norwegian Research Centre As [project number 101070].</p>
<p>Contributions are more than welcome using the fork and pull request approach.</p>
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions docsrc/about.rst → docs/text/about.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ About pymm
==========

.. image:: ./figs/pymm_logo.png
:scale: 35%

The image-based Python package for computational fluid dynamics **pymm** was funded by
NORCE Norwegian Research Centre As [project number 101070].
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion docsrc/conf.py → docs/text/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@
"logo_only": True,
"style_nav_header_background": "#aaaaaa",
}
html_static_path = ["_static"]
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
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
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.
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 166b0ec

Please sign in to comment.