You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Contribute to documentation](#contribute-to-documentation)
15
16
*[Survey On Open Source Community Communication](#survey-on-open-source-community-communication)
@@ -29,28 +30,28 @@ Choose one of the following methods depending on your preference.
29
30
30
31
You can run the Asgardeo docs and WSO2 Identity Server docs locally using Python virtual environments as well.
31
32
32
-
> #### Prerequisites
33
-
>
33
+
#### Prerequisites
34
+
>
34
35
> To run the project locally, it requires [python](https://www.python.org/downloads/) & [pip](https://pypi.org/project/pip/).
35
-
>
36
+
>
36
37
> - Install Python
37
-
>
38
+
>
38
39
> Check if you already have Python installed by running the following command.
39
-
>
40
+
>
40
41
> ```bash
41
42
> $ python3 --version
42
43
> Python 3.8.0
43
44
>```
44
-
>
45
-
> If you receive a response similar to the one shown above, `Python 3.8.0` is your default Python version.
46
-
>
45
+
>
46
+
> If you receive a response similar to the one shown above, `Python 3.8.0` is your default Python version.
47
+
>
47
48
> If you don't seem to have `Python` installed, grab the latest release from the [official downloads page](https://www.python.org/downloads/).
48
-
>
49
+
>
49
50
> - Install pip
50
-
>
51
+
>
51
52
> `pip` is already installed if you are using Python 3 (>=3.4) downloaded from [python.org][python-org] or if you are working in a [Virtual Environment][virtual-env-guide] created by
52
53
> [virtualenv][virtualenv] or [pyvenv][pyenv]. Just make sure to [upgrade pip][pip-upgrade-guide].
@@ -70,13 +71,13 @@ You can run the Asgardeo docs and WSO2 Identity Server docs locally using Python
70
71
```bash
71
72
cd en/identity-server/{version}
72
73
```
73
-
74
+
74
75
3. Initialize a Python virtual environment.
75
76
76
77
```bash
77
78
python3 -m venv .venv
78
79
```
79
-
80
+
80
81
4. Activate the created virtual environment.
81
82
82
83
```bash
@@ -110,9 +111,9 @@ mkdocs serve
110
111
> python3 -m mkdocs serve
111
112
> ```
112
113
113
-
### With Devcontainers
114
+
### With dev containers
114
115
115
-
This repository supports the VS Code dev containers feature, which allows you to create a consistent and isolated development environment inside a Docker container. To use this feature, you need to have the following pre requisites:
116
+
This repository supports the VS Code dev containers feature, which allows you to create a consistent and isolated development environment inside a Docker container. To use this feature, you need to have the following prerequisites:
116
117
117
118
- VS Code
118
119
- Docker installed on your system
@@ -130,9 +131,29 @@ For more information on how to use VS Code dev containers, please refer to the o
130
131
131
132
To uphold documentation quality, the CI pipeline includes linters to check for writing quality and style. Before creating a pull request (PR), make sure to install the required IDE extensions and test your changes locally to pass these checks.
132
133
134
+
## Markdownlint
135
+
136
+
[markdownlint](https://github.com/DavidAnson/markdownlint) checks markdown files for style and syntax issues, helping maintain consistent, clean and readable documentation.
137
+
138
+
To install markdownlint on Visual Studio Code (VSCode),
139
+
140
+
1. Install the **markdownlint** extension.
141
+
142
+
2. In the extension's settings page, provide the absolute path of the `.markdownlint.jsonc` configuration file as the `Config File`.
143
+
144
+
The configuration file and rule sets live in the following locations of the repository:
145
+
146
+
.
147
+
├── .markdownlint-cli2.jsonc # Configuration file for markdownlint-cli2
148
+
└── lint-config/ # Custom lints
149
+
└── custom lint `.js` files
150
+
151
+
3. Reload the extension to load the rules.
152
+
4. Fix all markdownlint errors underlined in yellow.
153
+
133
154
### Vale
134
155
135
-
[Vale](https://github.com/errata-ai/vale) offers a fast, open-source solution for linting prose, ensuring consistency, clarity, and quality in documentation. It checks text against style rules, like a code linter analyzes source code.
156
+
[Vale](https://github.com/errata-ai/vale) offers a fast, open-source solution forlinting prose, ensuring consistency, clarity, and qualityin documentation.
136
157
137
158
The current setup uses well-established industry rule sets such as [Microsoft](https://github.com/errata-ai/Microsoft) and [write-good](https://github.com/errata-ai/write-good), which provide guidelines for grammar, tone, and readability. We're working on adding custom rules to align with evolving style and voice requirements.
138
159
@@ -151,6 +172,7 @@ To install Vale in Visual Studio Code (VSCode),
0 commit comments