ygzgxyz/awesome-sphinxdoc
关于
Awesome Sphinxdoc 是精选的 Sphinx 优质资源合集。
学习与教育可以做什么
- Multi-language support (EN, KO, JA, ZH) with URL persistence (?lang=).
- Tag-based filtering with URL persistence (?tag=).
- Case-insensitive alphabetical sorting of links.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Awesome Sphinxdoc
About the Project
Awesome Sphinxdoc is a curated collection of valuable resources for Sphinx, the powerful and flexible documentation generator. This project aims to provide a centralized and easily navigable list of extensions, themes, tutorials, and other tools that enhance the Sphinx documentation ecosystem. It features multi-language support and tag-based filtering to help users quickly find the resources they need. You can view the content at https://ygzgxyz.github.io/awesome-sphinxdoc.
Technology Stack
This project is built using Rust and managed with Cargo. The HTML generation is powered by the minijinja templating engine.
How to Add a Link
We welcome contributions! To add a new link to the Awesome Sphinxdoc list:
Start the development server: Run the following command to start the development server. You can optionally provide a port number.
cargo run -- dev [PORT]Edit
links.toml: Open thelinks.tomlfile in the project root and add a new[[links]]entry with the following structure:[[links]] name = "Your Link Name" link = "https://example.com/your-link" description = "A brief description of what this link offers." tags = ["tag1", "tag2"]name: The title of the resource.link: The URL to the resource.description: A concise explanation of the resource.tags: A list of relevant tags.
Verify your changes: The development server will automatically rebuild the page. Open
http://127.0.0.1:<PORT>in your browser (e.g.,http://127.0.0.1:8000) to see your changes and make sure they look correct.Submit a Pull Request: Once you are happy with your changes, commit them and create a pull request on the GitHub repository.
Contributing
This project includes a development server that simplifies local development by automatically rebuilding the HTML file when you make changes.
Development Workflow
Start the Dev Server: Run the following command to start the development server. By default, it runs on port 8000.
cargo run -- devYou can also specify a custom port:
cargo run -- dev 8080This will:
- Perform an initial build of the
dist/index.htmlfile. - Start a local web server at the specified (or default) port.
- Watch for changes in
links.tomlandtemplates/template.htmland automatically rebuild the HTML file.
- Perform an initial build of the
Make Changes: Edit files like
links.tomlortemplates/template.html. The server will detect the changes and rebuild automatically.View in Browser: Open
http://127.0.0.1:<PORT>in your browser (e.g.,http://127.0.0.1:8000) to see your changes.
Checking for Broken Links
Before submitting a pull request, it's a good practice to check for any broken links. You can do this with the check-links command:
cargo run -- check-links
Features
- Multi-language support (EN, KO, JA, ZH) with URL persistence (
?lang=). - Tag-based filtering with URL persistence (
?tag=). - Case-insensitive alphabetical sorting of links.
探索相关项目
加载中…