Skip to content

Commit

Permalink
Fix benchmark docs diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
csala committed Oct 18, 2019
1 parent 1d32198 commit ac44a13
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BENCHMARK.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ f1_score(truth, detected, sample_weight=weights) = 0.1218487394957983

The whole process can be summarized in this diagram:

![Scoring](docs/images/Scoring.png?raw=true "Scoring")
![Scoring](docs/images/scoring-300.png?raw=true "Scoring")

## Evaluating the Pipelines

Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ docs: clean-docs ## generate Sphinx HTML documentation, including API docs
sphinx-apidoc --module-first --separate -T -o docs/api/ orion
$(MAKE) -C docs html
grep -Rl 'href="[^"]*.md"' docs/_build/ | xargs -n1 sed -i 's/href="\([^"]*\).md"/href="\L\1.html"/g'
grep -Rl 'docs/images' docs/_build/ | xargs -n1 sed -i 's:docs/images/:_static/:g'

.PHONY: view-docs
view-docs: docs ## view docs in browser
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
# 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 = ['images']

# The name of an image file (relative to this directory) to use as a favicon of
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand All @@ -122,7 +122,7 @@
# If given, this must be the name of an image file (path relative to the
# configuration directory) that is the logo of the docs. It is placed at
# the top of the sidebar; its width should therefore not exceed 200 pixels.
# html_logo = 'images/orion-logo-small.png'
html_logo = 'images/orion-logo-white-200.png'

# -- Options for HTMLHelp output ---------------------------------------

Expand Down
Binary file added docs/images/orion-logo-white-200.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/images/scoring-300.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ac44a13

Please sign in to comment.