Skip to content
Merged
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
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,30 @@ Users can create their own test hierarchies, create test factories for generatin

## Documentation

The official documentation is maintaned [here](https://eth-cscs.github.io/reframe/).
The official documentation is maintained [here](https://eth-cscs.github.io/reframe/index.html).

### Manually generate the documentation

In order to generate the documentation yourself, these are the necessary steps:

1. Install [pandoc](https://pandoc.org).
2. Install the Python requirements (you can do that from within a virtual environment):
```
pip install -r docs/requirements.txt
```

Generate the documentation:
```
make -C docs
```

And view it by opening `docs/html/index.html`.

If you want to view also the old documentation, you should first do the following:

```
cd docs/html
python -m http.server # or python -m SimpleHTTPServer for Python 2
```

You can can now view all the documentation (new and old) by opening `localhost:8000` in your browser.
7 changes: 0 additions & 7 deletions ci-scripts/ci-runner.bash
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,6 @@ if [ $CI_EXITCODE -eq 0 ]; then
swap_files reframe/settings.public.py reframe/settings.py
fi

# FIXME: Temporary workaround for the PE upgrade on Daint
if [[ $(hostname) == daint* ]]; then
# Do not test modfied tests on Daint
exit $CI_EXITCODE
fi


# Find modified or added user checks
userchecks=( $(git log --name-status --oneline --no-merges -1 | \
grep -e '^[AM][[:space:]]*checks/.*\.py$' | \
Expand Down
81 changes: 81 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
PYTHON = python
SPHINXOPTS =
SPHINXBUILD = -msphinx
SPHINXPROJ = ReFrame
SOURCEDIR = .
BUILDDIR = $(VERSION)
PANDOC = pandoc
PANDOCOPTS = --columns 1000
RM = /bin/rm -rf

ifeq ($(finstring "darwin", $(OSTYPE)), "darwin")
SYMLINK_DIR=ln -sfh
else
# Assume a GNU/Linux system here
SYMLINK_DIR=ln -sfn
endif

MDS = about.md \
advanced.md \
configure.md \
deferrables.md \
pipeline.md \
running.md \
started.md \
tutorial.md \
usecases.md

RSTS = $(MDS:.md=.rst)

TARGET_DOCS := \
help \
html \
dirhtml \
singlehtml \
pickle \
json \
htmlhelp \
qthelp \
devhelp \
epub \
latex \
latexpdf \
latexpdfja \
text \
man \
textinfo \
info \
gettext \
changes \
xml \
pseudoxml \
linkcheck \
doctest \
coverage

all: $(RSTS)
@make html
@touch html/.nojekyll
@echo 'Linking to old documentation pages'
@cd html && $(SYMLINK_DIR) ../old _old && cd - > /dev/null

%.rst: %.md
$(PANDOC) $(PANDOCOPTS) --from=markdown --to=rst --output=$(@) $(@:.rst=.md)

clean:
@echo 'Removing md files'
-$(RM) $(RSTS) doctrees

distclean: clean
@echo 'Removing directories'
-$(RM) $(TARGET_DOCS)

$(TARGET_DOCS): Makefile
@$(PYTHON) $(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)


.PHONY: clean Makefile
Binary file added docs/_static/files/reframe-cug17-slides.pdf
Binary file not shown.
Binary file added docs/_static/fonts/Lato-Bold.ttf
Binary file not shown.
Binary file added docs/_static/fonts/RobotoSlab-Bold.ttf
Binary file not shown.
Binary file added docs/_static/fonts/RobotoSlab-Light.ttf
Binary file not shown.
Binary file added docs/_static/fonts/RobotoSlab-Regular.ttf
Binary file not shown.
Binary file added docs/_static/fonts/RobotoSlab-Thin.ttf
Binary file not shown.
Binary file added docs/_static/fonts/fontawesome-webfont.woff2
Binary file not shown.
2 changes: 2 additions & 0 deletions docs/_static/img/deferrable-evaluation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/img/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/img/logo_cscs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/img/logo_ethz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/img/output-scanning.pdf
Binary file not shown.
Binary file added docs/_static/img/output-scanning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/_static/img/pipeline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions docs/_templates/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<div role="navigation" aria-label="breadcrumbs navigation">
<div style="text-align: center; margin-bottom: -1.5em; display: block">ReFrame {{ version }}</div>
<ul class="wy-breadcrumbs">
<li><a href="{{ pathto(master_doc) }}">Docs</a> &raquo;</li>
{% for doc in parents %}
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
{% endfor %}
<li>{{ title }}</li>
<li class="wy-breadcrumbs-aside">
{% if pagename != "search" %}
{% if display_github %}
<a href="https://{{ github_host|default("github.com") }}/{{ github_user }}/{{ github_repo }}" class="fa fa-github"> View on GitHub</a>
{% endif %}
<!-- <a href="https://eth-cscs.github.io/reframe">ReFrame</a> -->
<!-- <a href="Section_commands.html#comm">Commands</a> -->
{% endif %}
</li>
</ul>
<hr/>
{% if next or prev %}
<div class="rst-footer-buttons" style="margin-bottom: 1em" role="navigation" aria-label="footer navigation">
{% if next %}
<a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
{% endif %}
{% if prev %}
<a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
{% endif %}
</div>
{% endif %}
</div>
Loading