Skip to content

Commit af5551d

Browse files
damiansteigerthomashaener
authored andcommitted
Added batch for read the docs and fixed README.rst (#6)
1 parent ffd8ec5 commit af5551d

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

README.rst

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ FermiLib - An open source software for analyzing quantum simulation algorithms
77
.. image:: https://coveralls.io/repos/github/ProjectQ-Framework/FermiLib/badge.svg
88
:target: https://coveralls.io/github/ProjectQ-Framework/FermiLib
99

10+
.. image:: https://readthedocs.org/projects/fermilib/badge/?version=latest
11+
:target: http://fermilib.readthedocs.io/en/latest/?badge=latest
12+
:alt: Documentation Status
13+
1014

1115
FermiLib is an open source effort for analyzing quantum simulation algorithms.
1216

@@ -16,7 +20,7 @@ Getting started
1620
---------------
1721

1822
To start using FermiLib, simply follow the installation instructions in the `intro <https://github.com/ProjectQ-Framework/FermiLib/tree/master/docs/intro.html>`__. There, you will also find `code examples <https://github.com/ProjectQ-Framework/FermiLib/tree/master/examples.html>`__. Also, make sure to check out the `ProjectQ
19-
website <http://www.projectq.ch>`__ and the detailed `code documentation <https://github.com/ProjectQ-Framework/FermiLib/tree/master/docs/>`__.
23+
website <http://www.projectq.ch>`__ and the detailed `code documentation <https://fermilib.readthedocs.io/>`__.
2024

2125
How to contribute
2226
-----------------
@@ -26,8 +30,8 @@ To contribute code please adhere to the following very simple rules:
2630
1. Make sure your new code comes with extensive tests!
2731
2. Make sure you adhere to our style guide. Until we release a code style
2832
guide, just have a look at our code for clues. We mostly follow pep8 and use the pep8 linter to check for it.
29-
3. Put global constants and configuration parameters into src/config.py, and
30-
add 'from config import *' in the file that uses the constants/parameters.
33+
3. Put global constants and configuration parameters into src/fermilib/config.py, and
34+
add *from config import ** in the file that uses the constants/parameters.
3135

3236
Documentation can be found `here <https://github.com/ProjectQ-Framework/FermiLib/tree/master/docs/>`_.
3337

@@ -41,13 +45,3 @@ License
4145
-------
4246

4347
FermiLib is released under the Apache 2 license.
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-

docs/intro.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Installing FermiLib requires pip. Make sure that you are using an up-to-date ver
1313

1414
.. code-block:: bash
1515
16-
python -m pip install --user fermilib
16+
python -m pip install --pre --user fermilib
1717
1818
Alternatively, clone/download `this repo <https://github.com/ProjectQ-Framework/FermiLib>`_ (e.g., to your /home directory) and run
1919

2020
.. code-block:: bash
2121
2222
cd /home/fermilib
23-
python -m pip install --user .
23+
python -m pip install --pre --user .
2424
2525
This will install FermiLib and all its dependencies automatically. In particular, FermiLib requires `ProjectQ <https://projectq.ch>`_ . It might be useful to install ProjectQ separately before installing FermiLib as it might require setting some manual options such as, e.g., a C++ compiler. Please follow the `ProjectQ installation <https://projectq.ch/code-and-docs/>`_ instructions. FermiLib is compatible with both Python 2 and 3.
2626

0 commit comments

Comments
 (0)