File tree Expand file tree Collapse file tree 1 file changed +12
-15
lines changed Expand file tree Collapse file tree 1 file changed +12
-15
lines changed Original file line number Diff line number Diff line change 1
1
.. image :: https://badge.fury.io/py/papis-html.svg
2
2
:target: https://badge.fury.io/py/papis-html
3
3
4
- Papis-HTML
4
+ papis-html
5
5
==========
6
6
7
- ::
8
-
9
- Usage: papis-html [OPTIONS] [QUERY]
10
-
11
- Create a simple searchable offline html site with your references
7
+ For instance, doing
12
8
13
- Options:
14
- -h, --help Show this message and exit.
15
- --out TEXT Output directory
9
+ .. code :: sh
16
10
17
- For instance, doing
11
+ papis html einstein -o einstein-papers
18
12
19
- ::
13
+ will get you a directory ``einstein-papers `` with a website inside. This website
14
+ uses local files, so may not work directly when opened in a modern browser
15
+ (due to XSS precautions). You can start a simple web server in the generated
16
+ directory with
20
17
21
- papis html einstein -o einstein-papers
18
+ .. code :: sh
22
19
23
- will get you a directory ``einstein-papers `` with a website inside.
20
+ python -m http.server -d einstein-papers -b 127.0.0.1 8000
21
+ firefox 127.0.0.1:8000
24
22
25
- You can find an example in
26
- `here <https://papis.github.io/papis-html/einstein/ >`_.
23
+ You can find an example `here <https://papis.github.io/papis-html/einstein/ >`__.
27
24
28
25
Acknowledgements
29
26
================
You can’t perform that action at this time.
0 commit comments