Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Advertise matrix-org.github.io/synapse docs #10595

Merged
merged 12 commits into from
Aug 31, 2021
19 changes: 10 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,20 @@ to work on.

# 7. Turn coffee and documentation into code and documentation!

Synapse's code style is documented [here](docs/code_style.md). Please follow
it, including the conventions for the [sample configuration
file](docs/code_style.md#configuration-file-format).

There is a growing amount of documentation located in the [docs](docs)
directory. This documentation is intended primarily for sysadmins running their
There is a growing amount of documentation located in the [`docs`](docs)
directory, with a rendered version [available online](https://matrix-org.github.io/synapse).
This documentation is intended primarily for sysadmins running their
own Synapse instance, as well as developers interacting externally with
Synapse. [docs/dev](docs/dev) exists primarily to house documentation for
Synapse developers. [docs/admin_api](docs/admin_api) houses documentation
Synapse. [`docs/development`](docs/development) exists primarily to house documentation for
Synapse developers. [`docs/admin_api`](docs/admin_api) houses documentation
regarding Synapse's Admin API, which is used mostly by sysadmins and external
service developers.

If you add new files added to either of these folders, please use [GitHub-Flavoured
Synapse's code style is documented [here](docs/code_style.md). Please follow
it, including the conventions for the [sample configuration
file](docs/code_style.md#configuration-file-format).

If you add new files to our documentation, please use [GitHub-Flavoured
Markdown](https://guides.github.com/features/mastering-markdown/).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See 4ecc2ca.


Some documentation also exists in [Synapse's GitHub
Expand Down
21 changes: 18 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,14 @@ For support installing or managing Synapse, please join |room|_ (from a matrix.o
account if necessary) and ask questions there. We do not use GitHub issues for
support requests, only for bug reports and feature requests.

Synapse's documentation is `nicely rendered on GitHub Pages <https://matrix-org.github.io/synapse>`_,
with its source available in |docs|_.

.. |room| replace:: ``#synapse:matrix.org``
.. _room: https://matrix.to/#/#synapse:matrix.org

.. |docs| replace:: ``docs``
.. _docs: docs

Synapse Installation
====================
Expand Down Expand Up @@ -263,7 +268,17 @@ Then update the ``users`` table in the database::
Synapse Development
===================

Join our developer community on Matrix: `#synapse-dev:matrix.org <https://matrix.to/#/#synapse-dev:matrix.org>`_
There are three great points of reference for developers:

* Our developer community on Matrix: `#synapse-dev:matrix.org <https://matrix.to/#/#synapse-dev:matrix.org>`_,
* `Documentation specific to development <https://matrix-org.github.io/synapse/latest/development/>`_
(`source <docs/development>`_),
* in particular our `guide for contributors <https://matrix-org.github.io/synapse/latest/development/contributing_guide.html>`_
(`source <CONTRIBUTING.md>`_).


Quick start
-----------

Before setting up a development environment for synapse, make sure you have the
system dependencies (such as the python header files) installed - see
Expand Down Expand Up @@ -308,7 +323,7 @@ If you just want to start a single instance of the app and run it directly::


Running the unit tests
======================
----------------------

After getting up and running, you may wish to run Synapse's unit tests to
check that everything is installed correctly::
Expand All @@ -327,7 +342,7 @@ to see the logging output, see the `CONTRIBUTING doc <CONTRIBUTING.md#run-the-un


Running the Integration Tests
=============================
-----------------------------

Synapse is accompanied by `SyTest <https://github.com/matrix-org/sytest>`_,
a Matrix homeserver integration testing suite, which uses HTTP requests to
Expand Down
1 change: 1 addition & 0 deletions changelog.d/10595.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Advertise https://matrix-org.github.io/synapse docs in README and CONTRIBUTING files.