Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e453c3b
Setup; add book.toml
anoadragon453 May 10, 2021
f8f770a
Add book/ directory to .gitignore
anoadragon453 May 14, 2021
035d696
Add a favicon
anoadragon453 May 26, 2021
706f64a
Add github actions workflow to deploy docs to gh-pages
anoadragon453 May 11, 2021
99e7ffe
Organise existing documentation into a tree structure.
anoadragon453 May 26, 2021
069712e
Add some section pages
anoadragon453 May 26, 2021
db46987
Add a table of contents plugin
anoadragon453 May 26, 2021
3f9f35d
Remove chapter navigation buttons on desktop
anoadragon453 May 26, 2021
3712044
Update docs/README.md with information on the site and how to build it
anoadragon453 May 26, 2021
fe65330
Update oft-linked to admin_api directory with info about the new site
anoadragon453 May 26, 2021
b4bf418
Refine the sidebar: switch to headers without labels
anoadragon453 May 26, 2021
c6e5eaf
Changelog
anoadragon453 May 27, 2021
8d774a4
Apply suggestions from code review
anoadragon453 May 28, 2021
e9ba348
Apply suggestions from code review
anoadragon453 May 28, 2021
14cb114
Remove comments in workflow, latest -> develop
anoadragon453 May 28, 2021
b6adbd7
Split out homeserver and logging sample config files
anoadragon453 May 28, 2021
2568e5b
Move structured logging up next to the logging configuration chapter
anoadragon453 Jun 1, 2021
9157b8e
Don't link to register_new_matrix_user
anoadragon453 Jun 1, 2021
92c514f
Update docs/usage/configuration/README.md
anoadragon453 Jun 1, 2021
7cb4fd9
Merge branch 'develop' of github.com:matrix-org/synapse into anoa/mdbook
anoadragon453 Jun 3, 2021
170fed8
Switch admin_api SUMMARY entries to their markdown versions; fix link…
anoadragon453 Jun 3, 2021
2b39299
Feature Documentation -> Internal Documentation
anoadragon453 Jun 3, 2021
071a6ef
Add Media Storage Providers draft chapter
anoadragon453 Jun 3, 2021
90520ae
Update mdbooks to 0.4.9; re-enable edit button
anoadragon453 Jun 3, 2021
f896a1b
Drop 'Writing a Module' chapter draft until new module API exists
anoadragon453 Jun 3, 2021
6991e88
Fix links to documentation
anoadragon453 Jun 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy the documentation
#on:
# release:
# types: [created]
Comment thread
anoadragon453 marked this conversation as resolved.
Outdated

on:
push:
branches:
- develop

workflow_dispatch:

jobs:
pages:
name: GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup mdbook
uses: peaceiris/actions-mdbook@v1
Comment thread
anoadragon453 marked this conversation as resolved.
Outdated
with:
mdbook-version: '0.4.8'

- name: Build the documentatino
Comment thread
anoadragon453 marked this conversation as resolved.
Outdated
run: mdbook build

- name: Deploy latest documentation
uses: peaceiris/actions-gh-pages@v3
Comment thread
anoadragon453 marked this conversation as resolved.
Outdated
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
keep_files: true
publish_dir: ./book
destination_dir: ./latest
Comment thread
anoadragon453 marked this conversation as resolved.
Outdated
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ __pycache__/
/docs/build/
/htmlcov
/pip-wheel-metadata/

# docs
book/
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ exclude mypy.ini
exclude sytest-blacklist
exclude test_postgresql.sh

include book.toml
include pyproject.toml
recursive-include changelog.d *

Expand Down
26 changes: 26 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Documentation for possible options in this file is at
# https://rust-lang.github.io/mdBook/format/config.html
[book]
title = "Synapse"
authors = ["The Matrix.org Foundation C.I.C."]
language = "en"
multilingual = false

# The directory that documentation files are stored in
src = "docs"

[build]
# Prevent markdown pages from being automatically generated when they're
# linked to in SUMMARY.md
create-missing = false

[output.html]
# The URL visitors will be directed to when they try to edit a page
# Disabled until https://github.com/rust-lang/mdBook/issues/1543 is fixed
#edit-url-template = "https://github.com/matrix-org/synapse/edit/develop/{path}"

# The source code URL of the repository
git-repository-url = "https://github.com/matrix-org/synapse"

# The path that the docs are hosted on
site-url = "/synapse/"
79 changes: 79 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Summary

- [Introduction](welcome_and_overview.md)
- [Setup]()
- [Installation](setup/installation.md)
- [Using Postgres](postgres.md)
- [Configuring a Reverse Proxy](reverse_proxy.md)
- [Configuring a Turn Server](turn-howto.md)
- [Delegation](delegate.md)
- [Upgrading](upgrading/README.md)
- [Upgrading from pre-Synapse 1.0](MSC1711_certificates_FAQ.md)
- [Usage]()
- [Federation](federate.md)
- [Configuration]()
- [Sample Configuration Files](usage/configuration/sample_config.md)
- [User Authentication]()
- [Single-Sign On]()
- [OpenID Connect](openid.md)
- [SAML]()
- [CAS]()
- [SSO Mapping Providers](sso_mapping_providers.md)
- [Password Auth Providers](password_auth_providers.md)
- [JSON Web Tokens](jwt.md)
- [Registration Captcha](CAPTCHA_SETUP.md)
- [Application Services](application_services.md)
- [Server Notices](server_notices.md)
- [Consent Tracking](consent_tracking.md)
- [URL Previews](url_previews.md)
- [User Directory](user_directory.md)
- [Message Retention Policies](message_retention_policies.md)
- [Pluggable Modules]()
- [Third Party Rules]()
- [Spam Checker](spam_checker.md)
- [Presence Router](presence_router_module.md)
- [Writing a Module]()
Comment thread
anoadragon453 marked this conversation as resolved.
Outdated
- [Workers](workers.md)
- [Using `synctl` with Workers](synctl_workers.md)
- [Systemd](systemd-with-workers/README.md)
- [Administration](usage/administration/README.md)
- [Admin API](usage/administration/admin_api/README.md)
- [Account Validity](admin_api/account_validity.rst)
- [Delete Group](admin_api/delete_group.md)
- [Event Reports](admin_api/event_reports.md)
- [Media](admin_api/media_admin_api.md)
- [Purge History](admin_api/purge_history_api.rst)
- [Purge Rooms](admin_api/purge_room.md)
- [Register Users](admin_api/register_api.rst)
- [Manipulate Room Membership](admin_api/room_membership.md)
- [Rooms](admin_api/rooms.md)
- [Server Notices](admin_api/server_notices.md)
- [Shutdown Room](admin_api/shutdown_room.md)
- [Statistics](admin_api/statistics.md)
- [Users](admin_api/user_admin_api.rst)
- [Server Version](admin_api/version_api.rst)
Comment thread
anoadragon453 marked this conversation as resolved.
Outdated
- [Manhole](manhole.md)
- [Monitoring](metrics-howto.md)
- [Structured Logging](structured_logging.md)
Comment thread
anoadragon453 marked this conversation as resolved.
Outdated
- [Scripts]()
- [Development]()
- [Contributing Guide](development/contributing_guide.md)
- [Code Style](code_style.md)
- [Git Usage](dev/git.md)
- [Testing]()
- [OpenTracing](opentracing.md)
- [Synapse Architecture]()
- [Log Contexts](log_contexts.md)
- [Replication](replication.md)
- [TCP Replication](tcp_replication.md)
- [Feature Documentation]()
- [Single Sign-On]()
- [SAML](dev/saml.md)
- [CAS](dev/cas.md)
- [State Resolution]()
- [The Auth Chain Difference Algorithm](auth_chain_difference_algorithm.md)
- [Media Repository](media_repository.md)
- [Room and User Statistics](room_and_user_statistics.md)
- [Scripts]()
- [Other]()
- [Dependency Deprecation Policy](deprecation_policy.md)
Binary file added docs/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions docs/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/welcome_and_overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Introduction

Welcome to the documentation repository for Synapse, the reference
[Matrix](https://matrix.org) homeserver implementation.