Skip to content
This repository has been 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!
DMRobertson marked this conversation as resolved.
Show resolved Hide resolved

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).
DMRobertson marked this conversation as resolved.
Show resolved Hide resolved

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
37 changes: 31 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=========================================================
Synapse |support| |development| |license| |pypi| |python|
=========================================================
=========================================================================
Synapse |support| |development| |documentation| |license| |pypi| |python|
=========================================================================

.. contents::

Expand Down 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>`_,
babolivier marked this conversation as resolved.
Show resolved Hide resolved
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,23 @@ 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>`_
The best place to get started is our
`guide for contributors <https://matrix-org.github.io/synapse/latest/development/contributing_guide.html>`_.
This is part of our larger `documentation <https://matrix-org.github.io/synapse/latest>`_, which includes
information for synapse developers as well as synapse administrators.

Developers might be particularly interested in:

* `Synapse's database schema <https://matrix-org.github.io/synapse/latest/development/database_schema.html>`_,
* `notes on Synapse's implementation details <https://matrix-org.github.io/synapse/latest/development/internal_documentation/index.html>`_, and
* `how we use git <https://matrix-org.github.io/synapse/latest/development/git.html>`_.

Alongside all that, join our developer community on Matrix:
`#synapse-dev:matrix.org <https://matrix.to/#/#synapse-dev:matrix.org>`_, featuring real humans!


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 +329,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 +348,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 Expand Up @@ -445,6 +466,10 @@ This is normally caused by a misconfiguration in your reverse-proxy. See
:alt: (discuss development on #synapse-dev:matrix.org)
:target: https://matrix.to/#/#synapse-dev:matrix.org

.. |documentation| image:: https://img.shields.io/badge/documentation-%E2%9C%93-success
:alt: (Rendered documentation on GitHub Pages)
:target: https://matrix-org.github.io/synapse/latest/

.. |license| image:: https://img.shields.io/github/license/matrix-org/synapse
:alt: (check license in LICENSE file)
:target: LICENSE
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.