Thank you for your interest in contributing to this project! This is an mdBook that organizes and presents a collection of PDF files for easy access. Follow these guidelines to contribute effectively.
Before you start, make sure you have the following:
-
mdBook installed:
cargo install mdbook
-
Basic familiarity with Markdown and the project structure.
-
Set up a local commit message template:
git config commit.template .gitmessage
The book is organized as follows:
src/: Contains the book's chapters in Markdown format (.md).src/pdfs/: Stores the PDF files used in the book.book.toml: The main configuration file for the mdBook.
- Check the open issues to avoid duplications.
- If no related issue exists, open a new issue and describe:
- The problem or improvement you're addressing.
- Your proposed solution.
- To add a new chapter:
- Create a
.mdfile in thesrc/folder. - Update the
SUMMARY.mdfile to include the new chapter in the book navigation.
- Create a
- To update an existing chapter:
- Edit the corresponding
.mdfile in thesrc/folder.
- Edit the corresponding
- Upload the PDF files to the
src/pdfs/folder. - Ensure that the chapter links to the PDF correctly:
[PDF Name](./pdfs/<area>/file.pdf)
Before submitting your changes, build and test the book locally:
- Build the book:
mdbook build
- Serve the book locally to preview it:
mdbook serve
This will launch the book at http://localhost:3000.
Follow these steps to submit your contributions:
- Fork the repository.
- Create a new branch for your changes:
git checkout -b feature/new-feature
- Make your changes and commit with a clear message:
git commit -m "feat: added new chapter on X" - Push your changes to your fork:
git push origin feature/new-feature
- Open a Pull Request to the main branch.
- Use clear and descriptive file names in lowercase.
- Use relative links for PDFs within the book.
- Check your spelling and formatting before submitting changes.
If you have any questions, feel free to open an issue or contact the project maintainers. We're here to help.
Thank you for contributing! This project gets better with contributions from people like you.