Skip to content

Commit

Permalink
Add gitpod.py and continue with docs writing
Browse files Browse the repository at this point in the history
  • Loading branch information
RCheesley committed Oct 28, 2024
1 parent 5b9b0ac commit 8a21d8c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/links/gitpod.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from . import link

link_name = "Gitpod"
link_text = "Gitpod"
link_url = "https://gitpod.io/"

link.xref_links.update({link_name: (link_text, link_url)})
17 changes: 17 additions & 0 deletions docs/teams/education_team/contributing_docs_rst.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,20 @@ So you're interested in contributing to Mautic's documentation? That's fantastic
2. The :xref:`Developer Docs` - :xref:`Developer Docs GitHub`
3. The :xref:`Community Handbook` - :xref:`Community Handbook GitHub`

Getting started
***************

You can work with the documentation locally, using DDEV and an application like VSCode. This allows you to make changes and see them in real-time on a locally-hosted version of the documentation.

Check warning on line 13 in docs/teams/education_team/contributing_docs_rst.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.WordList] Use 'app' instead of 'application'. Raw Output: {"message": "[Google.WordList] Use 'app' instead of 'application'.", "location": {"path": "docs/teams/education_team/contributing_docs_rst.rst", "range": {"start": {"line": 13, "column": 64}}}, "severity": "WARNING"}

Check failure on line 13 in docs/teams/education_team/contributing_docs_rst.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'VSCode'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'VSCode'?", "location": {"path": "docs/teams/education_team/contributing_docs_rst.rst", "range": {"start": {"line": 13, "column": 81}}}, "severity": "ERROR"}

Check failure on line 13 in docs/teams/education_team/contributing_docs_rst.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.LyHyphens] ' locally-' doesn't need a hyphen. Raw Output: {"message": "[Google.LyHyphens] ' locally-' doesn't need a hyphen.", "location": {"path": "docs/teams/education_team/contributing_docs_rst.rst", "range": {"start": {"line": 13, "column": 151}}}, "severity": "ERROR"}

You can also use the web-based tool :xref:`Gitpod`, which allows you to spin up a temporary cloud-hosted instance of the documentation, make changes, and submit a pull request to have your changes merged back into the main repository. You can also test PRs with Gitpod, too.

Working locally
===============

To get started with one of the documentation repositories locally, it's advised to install:

- Git
- Docker or Colima
- DDEV
- VSCode

Check failure on line 25 in docs/teams/education_team/contributing_docs_rst.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'VSCode'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'VSCode'?", "location": {"path": "docs/teams/education_team/contributing_docs_rst.rst", "range": {"start": {"line": 25, "column": 3}}}, "severity": "ERROR"}
- GitHub CLI

Check warning on line 26 in docs/teams/education_team/contributing_docs_rst.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.WordList] Use 'command-line tool' instead of 'CLI'. Raw Output: {"message": "[Google.WordList] Use 'command-line tool' instead of 'CLI'.", "location": {"path": "docs/teams/education_team/contributing_docs_rst.rst", "range": {"start": {"line": 26, "column": 10}}}, "severity": "WARNING"}

0 comments on commit 8a21d8c

Please sign in to comment.