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
This repository is only for issues related to the website [http://expressjs.com](http://expressjs.com). For issues related to Express, the framework, go to [https://github.com/expressjs/express](https://github.com/expressjs/express).
3
+
### The Official Documentation of the Express JS Framework
4
4
5
-
Feel free to make changes to the template files or the document files. The supporting docs are located in their respective directories, and the API docs are located under the `_includes` directory.
5
+
This is the contribution documentation for the [Expressjs.com](https://github.com/expressjs/expressjs.com) website.
6
6
7
-
Content on this site is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License. See https://creativecommons.org/licenses/by-sa/3.0/us/ for a layman's summary;
8
-
See [LICENSE.md](LICENSE.md)for the full license.
7
+
>[!NOTE]
8
+
> This is not the repo for Express JS framework. To contribute to the _[Express JS framework](https://github.com/expressjs/express_)_, check out the [Github repo contributing page](https://github.com/expressjs/express/blob/master/Contributing.md)or the website's [Contributing to Express](https://expressjs.com/en/resources/contributing.html) page.
9
9
10
+
11
+
#### Need some ideas? These are some typical issues.
12
+
13
+
1.**Website issues**:
14
+
If you see anything on the site that could use a tune-up, think about how to fix it.
15
+
16
+
- Display or screen sizing problems
17
+
- Mobile responsiveness issues
18
+
- Missing or broken accessibility features
19
+
- Website outages
20
+
- Broken links
21
+
- Page structure or user interface enhancements
22
+
23
+
24
+
2.**Content Issues**:
25
+
Fix anything related to site content or typos.
26
+
- Spelling errors
27
+
- Incorrect/outdated Express JS documentation
28
+
- Missing content
29
+
30
+
31
+
3.**Translation Issues**: Fix any translation errors or contribute new content.
32
+
- Fix spelling errors
33
+
- Fix incorrect/poorly translated words
34
+
- Translate new content
35
+
> [!IMPORTANT]
36
+
> All translation submissions are currently paused. See this [notice](#notice-we-have-paused-all-translation-contributions) for more information.
37
+
38
+
- Check out the [Contributing translations](#contributing-translations) section below for a contributing guide.
39
+
40
+
#### Want to work on a backlog issue?
41
+
42
+
We often have bugs or enhancements that need work. You can find these under our repo's [Issues tab](https://github.com/expressjs/expressjs.com/issues). Check out the tags to find something that's a good match for you.
43
+
44
+
#### Have an idea? Found a bug?
45
+
46
+
If you've found a bug or a typo, or if you have an idea for an enhancement, you can:
47
+
- Submit a [new issue](https://github.com/expressjs/expressjs.com/issues/new/choose) on our repo. Do this for larger proposals, or if you'd like to discuss or get feedback first.
48
+
- Make a [Github pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request). If you have already done work and it's ready to go, feel free to send it our way.
49
+
50
+
## Getting Started
51
+
52
+
The steps below will guide you through the Expressjs.com contribution process.
53
+
54
+
#### Step 1: (OPTIONAL) Open a New Issue
55
+
So you've found a problem that you want to fix, or have a site enhancement you want to make.
56
+
1. If you want to get feedback or discuss, open a discussion [issue](https://github.com/expressjs/expressjs.com/issues/new/choose) prior to starting work. This is not required, but encouraged for larger proposals.
57
+
- While we highly encourage this step, it is only for submissions proposing significant change. It helps us to clarify and focus the work, and ensure it aligns with overall project priorities.
58
+
- For submissions proposing minor improvements or corrections, this is not needed. You can skip this step.
59
+
- When opening an issue please give it a title and fill in the description section. The more details you provide, the more feedback we can give.
60
+
61
+
2. After receiving your issue the Express JS documentation team will respond with feedback. We read every submission and always try to respond quickly with feedback.
62
+
- For submissions proposing significant change, we encourage you to follow the review process before starting work.
After you've got the code you're ready to start making your changes!
71
+
72
+
But just in case you need a little extra explanation, this section below outlines the main sections of the code base, where most changes are likely to be made.
73
+
74
+
**Markdown Page Files**:
75
+
- These files render to html and make up the individual pages of the site. Most of the site's documentation text content is written in `md` files.
76
+
- Change these to make changes to individual pages' content/text or markup.
77
+
- Each language has its own complete set of pages, located under their respective language directories - all the Spanish markdown content is found in the `es` directory, for example.
78
+
79
+
**Includes Partials and Layout Templates**
80
+
-`_includes` are partials that are imported and reused across multiple pages.
81
+
- These are used to import text content for reuse across pages, such as the API documentation, e.g., `_includes > api > en > 5x`, which is included in every language.
82
+
- These are used to include the page components that make up site-wide user interface and periphery structure, e.g., Header, Footer, etc.
83
+
-`_layouts` are the templates used to wrap the site's individual pages.
84
+
- These are used to display the structure of the site's periphery, such as the header and footer, and for injecting and displaying individual markdown pages inside the `content` tag.
85
+
86
+
**Blog Markdown Files**
87
+
- These files make up the individual blog posts. If you want to contribute a blog post please
88
+
follow the specific instructions for [How to write a blog post.](https://expressjs.com/en/blog/write-post.html)
89
+
- Located under the `_posts` directory.
90
+
91
+
**CSS or Javascript**
92
+
- All css and js files are kept in `css` and `js` folders on the project root.
93
+
94
+
The Express JS website is build using [Jeykyll](https://jekyllrb.com/) and is hosted on [Github Pages](https://pages.github.com/).
95
+
96
+
#### Step 3: Running the Application
97
+
98
+
99
+
Now you'll need a way to see your changes, which means you'll need a running version of the application. You have two options.
100
+
1.__Run Locally__: This gets the local version of the application up and running on your machine. Follow our [Local Setup Guide](https://github.com/expressjs/expressjs.com?tab=readme-ov-file#local-setup) to use this option.
101
+
- This is the recommended option for moderate to complex work.
102
+
2.__Run using Deploy Preview__: Use this option if you don't want to bother with a local installation. Part of our continuous integration pipeline includes [Netlify Deploy Preview](https://docs.netlify.com/site-deploys/deploy-previews/).
103
+
1. To use this you'll need to get your changes online - after you've made your first commit on your feature branch, make a *draft* pull request.
104
+
2. After the build steps are complete, you'll have access to a __Deploy Preview__ tab that will run your changes on the web, rebuilding after each commit is pushed.
105
+
3. After you are completely done your work and it's ready for review, remove the draft status on your pull request and submit your work.
106
+
10
107
## Contributing translations
11
108
109
+
#### Notice: We have paused all translation contributions.
110
+
> [!IMPORTANT]
111
+
> We are currently working toward a more streamlined translations workflow. As long as this notice is posted, we will _not_ be accepting any translation submissions.
112
+
12
113
We highly encourage community translations! We no longer have professional translations, and we believe in the power of our community to provide accurate and helpful translations.
13
114
14
115
The documentation is translated into these languages:
@@ -29,27 +130,25 @@ The documentation is translated into these languages:
29
130
- Simplified Chinese (`zh-cn`)
30
131
- Traditional Chinese (`zh-tw`)
31
132
32
-
To find translations that need to be done, you can [filter for merged PRs](https://github.com/expressjs/expressjs.com/pulls?q=is%3Apr+is%3Aclosed+label%3Arequires-translation-es) that include the tag for your language, such as `requires-translation-es`.
133
+
### Adding New Full Site Translations
33
134
34
-
When you contribute a translation, please reference the original PR. This helps the person merging your translation to remove the `requires-translation-es` tag from the original PR.
135
+
If you find a translation is missing from the list you can create a new one.
35
136
137
+
To translate Expressjs.com into a new language, follow these steps:
36
138
37
-
### Adding new translations
38
-
39
-
To contribute a translation into another language, following the procedure below.
40
-
41
-
Follow these steps:
42
-
43
-
0. Clone the [`expressjs.com` repository](https://github.com/expressjs/expressjs.com)
44
-
1. Create a directory for the language of your choice using its [ISO 639-1 code](http://www.loc.gov/standards/iso639-2/php/code_list.php) as its name.
45
-
2. Copy `index.md`, `api.md`, `starter/`, `guide/`, `advanced/`, `resources/`, `4x/`, and `3x/`, to the language directory.
46
-
3. Remove the link to 2.x docs from the "API Reference" menu.
47
-
4. Update the `lang` variable in the copied markdown files.
48
-
5. Update the `title` variable in the copied markdown files.
49
-
6. Create the header, footer, notice, and announcement file for the language in the `_includes/` directory, in the respective directories, and make necessary edits to the contents.
50
-
7. Create the announcement file for the language in the `_includes/` directory.
139
+
1. Clone the [`expressjs.com`](https://github.com/expressjs/expressjs.com) repository.
140
+
2. Create a directory for the language of your choice using its [ISO 639-1 code](https://www.loc.gov/standards/iso639-2/php/code_list.php) as its name.
141
+
3. Copy `index.md`, `api.md`, `starter/`, `guide/`, `advanced/`, `resources/`, `4x/`, and `3x/`, to the language directory.
142
+
4. Remove the link to 2.x docs from the "API Reference" menu.
143
+
5. Update the `lang` variable in the copied markdown files.
144
+
6. Update the `title` variable in the copied markdown files.
145
+
7. Create the header, footer, notice, and announcement file for the language in the `_includes/` directory, in the respective directories, and make necessary edits to the contents.
146
+
8. Create the announcement file for the language in the `_includes/` directory.
51
147
9. Make sure to append `/{{ page.lang }}` to all the links within the site.
52
-
10. Update the `CONTRIBUTING.md` and the `.github/workflows/translation.yml` files with the new language
148
+
10. Update the [CONTRIBUTING.md](https://github.com/expressjs/expressjs.com/blob/gh-pages/CONTRIBUTING.md#contributing-translations) and the `.github/workflows/translation.yml` files with the new language.
149
+
150
+
### Adding Page and Section Translations
53
151
152
+
Many site translations are still missing pages. To find which ones we need help with, you can [filter for merged PRs](https://github.com/expressjs/expressjs.com/pulls?q=is%3Apr+is%3Aclosed+label%3Arequires-translation-es) that include the tag for your language, such as `requires-translation-es` for requires Spanish translation.
54
153
55
-
Thank you for your interest in contributing to expressjs.com. Your efforts help make our documentation accessible to everyone!
154
+
If you contribute a page or section translation, please reference the original PR. This helps the person merging your translation to remove the tag from the original PR.
Copy file name to clipboardExpand all lines: README.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,9 +73,7 @@ The default GitHub Pages syntax highlighting has been disabled in `_config.yml`
73
73
74
74
## Contributing
75
75
76
-
Feel free to make changes to the template files or the document files. The supporting docs are located in their respective directories, and the API docs are located under the `_includes` directory.
77
-
78
-
Please see the [Contributors' Guide](CONTRIBUTING.md) for more information on contributing to the documentation, including information on contributing translations.
76
+
Please see the [Contributors' Guide](CONTRIBUTING.md) for more information on contributing to the Express JS documentation, including information on contributing translations.
79
77
80
78
## Why use Jekyll instead of an Express-based solution?
### Looking to contribute to Expressjs.com? Click [here](#expressjs-website-contributing).
13
+
12
14
Express and the other projects in the [expressjs organization on GitHub](https://github.com/expressjs) are projects of the [OpenJs Foundation](https://openjsf.org/).
13
15
These projects are governed under the general policies and guidelines of the Node.js Foundation along with the additional guidelines below.
14
16
@@ -237,7 +239,6 @@ dissent. When the PR is merged, a TC member will add them to the proper GitHub/
237
239
238
240
```text
239
241
By making a contribution to this project, I certify that:
240
-
241
242
(a) The contribution was created in whole or in part by me and I
242
243
have the right to submit it under the open source license
243
244
indicated in the file; or
@@ -374,3 +375,7 @@ We are currently working on a new version of the security model, the most update
374
375
If you have suggestions on how this process could be improved please submit a
375
376
pull request.
376
377
378
+
----
379
+
# Contributing to Expressjs.com {#expressjs-website-contributing}
0 commit comments