Skip to content

Contributing

RunEntLinux is a documentation project, and contributions of any kind are welcome.

If you find content errors, outdated commands, or inaccurate descriptions, please reach out:

  • Open an issue on GitHub Issues
  • Use the “Edit this page on GitHub” link at the bottom of any article to make the change and submit a PR directly

If you’d like to add new tutorials or improve existing content:

  1. Fork the repository and create a branch
  2. Follow the conventions in WRITING_GUIDE.md; new pages must be provided in both Chinese and English
  3. Register the new page in the sidebar section of astro.config.mjs
  4. Open a PR describing your changes
  • Use .md for plain text tutorials; use .mdx when component interaction is needed
  • Use English kebab-case for file names: dnf-basics.mdx
  • Every file must have title and description frontmatter
  • $ prefix indicates a regular user; # indicates root
  • Prefer using sudo over switching to root
  • Add a title to each code block explaining its purpose
  • Note the applicable distribution and version
  • Address the reader as “you”
  • Keep paragraphs short — no more than 5 lines each
  • Avoid using two admonitions in a row
  • Use consistent terminology: DNF, SELinux, systemd, firewalld, NetworkManager

Recommended structure for tutorial pages:

  1. One-sentence introduction
  2. “What you will learn” list
  3. Prerequisites
  4. Step-by-step body
  5. Common questions
  6. Further reading

For detailed guidelines, see WRITING_GUIDE.md in the project.

Install dependencies and start dev server
$ npm install
$ npm run dev

Visit http://localhost:4321/ in your browser to preview.

Build for production
$ npm run build