Skip to content

Commit bca6205

Browse files
committed
Align readme and doc entry pages as much as possible
1 parent a1df372 commit bca6205

File tree

2 files changed

+71
-31
lines changed

2 files changed

+71
-31
lines changed

README.rst

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,43 @@ pygccxml
1414
:target: http://pygccxml.readthedocs.io/en/develop/?badge=develop
1515
:alt: Documentation status
1616

17-
pygccxml is a specialized XML reader that reads the output from CastXML or GCCXML. It provides a simple framework to navigate C++ declarations, using Python classes.
17+
pygccxml is a specialized XML reader that reads the output from CastXML.
18+
It provides a simple framework to navigate C++ declarations, using Python classes.
1819

19-
Install
20-
-------
20+
Using pygccxml you can:
21+
22+
* Parse C++ source code
23+
* Create a code generator
24+
* Generate UML diagrams
25+
* Build code analyzers
26+
* ...
27+
28+
Installation
29+
------------
2130

2231
Install instructions can be found `here <http://pygccxml.readthedocs.io/en/master/install.html>`_.
2332

33+
Compatibility
34+
-------------
35+
36+
pygccxml is compatible with Python 2.7, 3.3, 3.4, 3.5, pypy and pypy3.
37+
2438
Documentation and examples
2539
--------------------------
2640

2741
The documentation can be found `here <http://pygccxml.readthedocs.io>`_, examples can be found `here <http://pygccxml.readthedocs.io/en/master/examples.html>`_.
2842

43+
If you want to know more about the API provided by pygccxml, read the
44+
`query interface <http://pygccxml.readthedocs.io/en/develop/query_interface.html>`_ document or the
45+
`API documentation <http://pygccxml.readthedocs.io/en/develop/apidocs/modules.html>`_.
46+
2947
A `FAQ <http://pygccxml.readthedocs.io/en/master/faq.html>`_ is also available and may answer some of your questions.
3048

49+
License
50+
-------
51+
52+
`Boost Software License <http://boost.org/more/license_info.html>`_
53+
3154
Contact us
3255
----------
3356

@@ -45,9 +68,8 @@ The develop branch contains the latest improvements but can be unstable. Pull Re
4568
Testing and code coverage
4669
-------------------------
4770

48-
pygccxml has more than 250 unit tests. They are run after each code commit to ensure
49-
that the code stays functional and stable. You can find the Mac and Linux builds `here <https://travis-ci.org/gccxml/pygccxml/builds>`_ and
50-
the Windows builds `here <https://ci.appveyor.com/project/iMichka/pygccxml>`_.
71+
You can find the Mac and Linux builds `here <https://travis-ci.org/gccxml/pygccxml/builds>`_.
72+
The Windows builds are located `here <https://ci.appveyor.com/project/iMichka/pygccxml>`_.
5173

5274
Running the test suite is done with:
5375

docs/index.rst

Lines changed: 43 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,73 @@
11
pygccxml
22
========
33

4-
The purpose of `pygccxml` is to read a generated xml file and provide a simple
5-
framework to navigate C++ declarations, using Python classes.
4+
pygccxml is a specialized XML reader that reads the output from CastXML.
5+
It provides a simple framework to navigate C++ declarations, using Python classes.
66

7-
Using `pygccxml` you can:
7+
Using pygccxml you can:
88

99
* Parse C++ source code
10-
* Create a powerful code generator
10+
* Create a code generator
1111
* Generate UML diagrams
1212
* Build code analyzers
1313
* ...
1414

1515
Installation
16-
============
16+
------------
1717

1818
Installation instructions can be found here: :doc:`Installation <install>`
1919

20-
Examples
21-
========
20+
Compatibility
21+
-------------
22+
23+
pygccxml is compatible with Python 2.7, 3.3, 3.4, 3.5, pypy and pypy3.
2224

23-
The :doc:`examples <examples>` are a good way to learn how to use `pygccxml`.
25+
Documentation and examples
26+
--------------------------
2427

25-
`pygccxml` provides a powerful API. If you want to know more about the provided API
28+
The :doc:`examples <examples>` are a good way to learn how to use pygccxml.
29+
30+
If you want to know more about the API provided by pygccxml,
2631
read the :doc:`query interface <query_interface>` document or the
2732
:doc:`API documentation <apidocs/modules>`.
2833

29-
Contributing
30-
============
31-
34+
A `FAQ <faq>`_ is also available and may answer some of your questions.
3235

3336
License
34-
=======
37+
-------
38+
39+
`Boost Software License <http://boost.org/more/license_info.html>`__
40+
41+
Contact us
42+
----------
43+
44+
You can contact us through the `CastXML mailing list <http://public.kitware.com/mailman/listinfo/castxml/>`__.
45+
46+
For issues with pygccxml you can open an issue `here <https://github.com/gccxml/pygccxml/issues/>`__.
3547

36-
`Boost Software License`_.
48+
Branches
49+
--------
50+
51+
The stable version can be found on the master branch.
52+
53+
The develop branch contains the latest improvements but can be unstable. Pull Requests should be done on the develop branch.
3754

3855
Test environment
39-
================
56+
----------------
57+
58+
You can find the Mac and Linux builds `here <https://travis-ci.org/gccxml/pygccxml/builds>`__.
59+
The Windows builds are located `here <https://ci.appveyor.com/project/iMichka/pygccxml>`__.
60+
61+
Running the test suite is done with:
4062

41-
`pygccxml` comes with comprehensive unit tests. They are executed on different operating systems,
42-
and with different versions of compilers. See the `Travis`_ builds for more details.
43-
`pygccxml` is tested under python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5. All in all, `pygccxml` has more than 230 tests.
63+
.. code-block:: python
4464
65+
python3 -m unittests.test_all
66+
67+
Code coverage is also available. It is automatically updated after each commit and can be found `here <https://coveralls.io/r/gccxml/pygccxml>`__.
4568

4669
Documentation contents
47-
======================
70+
----------------------
4871

4972
.. toctree::
5073
:maxdepth: 1
@@ -62,13 +85,8 @@ Documentation contents
6285
history
6386
upgrade_issues
6487

65-
.. _`Boost Software License`: http://boost.org/more/license_info.html
66-
.. _`Travis`: https://travis-ci.org/gccxml/pygccxml/builds
67-
.. _`boost::type_traits` : http://www.boost.org/libs/type_traits/index.html
68-
69-
7088
Indices and tables
71-
==================
89+
------------------
7290

7391
* :ref:`genindex`
7492
* :ref:`modindex`

0 commit comments

Comments
 (0)