Contribution Guide¶
Anyone is welcome to edit this notebook. Fix a typo, add a source, update a page, or write about an event you attended. You can also tag me in the group chat if you would rather leave the GitHub part to me.
Where to start¶
- Use Edit on GitHub at the top-right of a page, edit the file and follow GitHub's steps to open a pull request.
- Report errors and broken links in Issues. Share courses and tools in Discussions.
- To help maintain the wiki regularly, request edit access.
Preview locally¶
Requires Python 3.11+. Set up the environment once:
git clone https://github.com/mia03ther/web3-learning-wiki.git
cd web3-learning-wiki
python -m venv .venv
Activate it with .\.venv\Scripts\Activate.ps1 in Windows PowerShell, or source .venv/bin/activate on macOS / Linux. Then run:
Open the address printed in the terminal, normally the local preview. Saving a file refreshes the page. On Windows, you can also double-click serve.bat in the repository root.
Add an event note¶
Use the RustChinaConf 2026 note as a starting point. Its source is docs/field-notes/rustchinaconf-2026.md; the note is in Chinese.
- Create a clearly named
.mdfile underdocs/field-notes/, withtitleanddescriptionmetadata and one top-level heading. - Add a
w3-metainformation card with the event, dates, location, your role and official sources. Include afigure.w3-posterif you have a poster. - Write a short
w3-tldr, then the body in sections such asPart 1andPart 2. End with takeaways for beginners and things readers can try next. - Update
docs/field-notes/index.md,docs/en/field-notes/index.md, the season calendars indocs/index.mdanddocs/en/index.md, andnavinmkdocs.yml. Notes from the same event share a round number. - Preview the page and check its headings, images and source links before running the strict build.
Keep posters and event photos in docs/assets/posters/, named rNN-slug.jpg. Include descriptive alt text, image dimensions and a source caption. For images from the event's official WeChat account, use “图源:活动官方公众号”. For group photos, add “照片里的人如果不希望出现在这里,告诉我就删” so people know they can ask for removal. Check the license and attribution requirements of any other source. Keep the R01 organizers anonymous and leave its poster out.
Publish a release¶
- Choose a version and date: major for redesigns, minor for new notes or features, patch for corrections. Add a new latest card to
docs/changelog.md, move the previous card to the history, and updatedocs/en/changelog.md. - Update both languages of the announcement in
overrides/main.html, plus the release links and summaries on the Chinese and English home pages. Keep versions, dates and links consistent. - Run
python -m mkdocs build --strictand resolve every warning. Check mobile and dark mode, including navigation, images and the edit button. - Use an English conventional commit message and open a PR or push to
main. Wait for the GitHub Actions build and deployment to succeed before sharing the update.
Write the group announcement like an app's What's New, taking the main points from the release page:
Web3 Learning Wiki · v3.1.0 (YYYY.MM.DD)
https://mia03ther.github.io/web3-learning-wiki/
New
· Notes or topics added
Improved
· Changes that make the wiki easier to use
Fixed
· Problems resolved
Edits welcome: use Edit on GitHub on any page, or tag me in the group.
Omit categories with no changes. Announce only changes that are already live.
Content and commits¶
- Chinese pages live under
docs/; English pages use matching paths underdocs/en/. An English summary can link to an existing article while noting its language. - Keep a personal notebook tone. Distinguish official information, event conversations and your own interpretation. Verify uncertain facts against public sources and link to them.
- Put pages in the matching section, use relative links, and follow the existing heading and layout styles.
mainholds sources and content.gh-pagesandsite/are generated. Runpython -m mkdocs build --strictbefore each submission, and leave local tool settings and secrets out of commits.