Open notes, study materials, learning resources and community guides from FOSS MEC.
The library is a static mdBook site published with GitHub Pages. It is read-only by design: suggestions and files arrive through GitHub Issues and pull requests, are reviewed by a maintainer, and are deployed automatically after merge.
Status: the library is new. Academic sections are empty until a real, permission-cleared file is accepted. The Git, Linux and workshop pages are starter drafts, not student submissions.
- Live site: https://fossmec.github.io/foss-mec-library/
- Repository: https://github.com/FossMec/foss-mec-library
- Contributing: CONTRIBUTING.md
- Contributors: https://fossmec.github.io/foss-mec-library/contributors.html
- Code of conduct: CODE_OF_CONDUCT.md
- Content licence: CC BY 4.0; code and theme overrides are MIT.
| Section | Contents |
|---|---|
| Academic Materials | Semester pages for permission-cleared notes and slides (empty until verified) |
| Open Learning Resources | Curated free links for Git, Linux, programming and open source |
| Community Guides | Original guides on Git, GitHub collaboration and the Linux command line |
| Let's Git It | Workshop quickstart, exercises and a Git cheat sheet |
| Contribute | Browser-only guides for all four contribution paths |
There are no fake upload widgets, accounts, databases or server functions. GitHub is the contribution system.
Requirements: mdBook 0.5.4 and Python 3.
mdbook --version # must print mdbook v0.5.4
python3 scripts/validate_content.py
mdbook serve --openOr build the static site:
mdbook build # output in book/
python3 -m http.server 8000 --directory bookbook/ is generated and gitignored. Never commit it.
CI runs the same two commands on every pull request:
python3 scripts/validate_content.py
mdbook buildThe validator checks:
- every chapter referenced by
src/SUMMARY.mdexists; - local Markdown and HTML links resolve (external links are not fetched);
- root-relative
/...links are rejected, because the site is served from/foss-mec-library/; - material extensions are on the allowlist;
- no file exceeds the 10 MiB policy;
- no published page contains an
example.orgplaceholder.
create-missing = false makes a missing chapter a build failure instead of a silent empty page.
- Fork the repository.
- Create a branch with a short, descriptive name.
- Make one focused change (Markdown, a permitted file, or a verified link).
- Open a pull request against
mainand complete the template. - CI runs
build; a maintainer reviews accuracy, attribution and licence. - Squash-merge → GitHub Actions deploys to Pages automatically.
Browser-only instructions are in CONTRIBUTING.md and on the live Contribute page.
.github/workflows/docs.yml builds on every pull request and deploys only from main:
- pull request → validate +
mdbook build(read-only token, no deploy); - push to
mainor manual dispatch → validate + build + upload Pages artifact + deploy.
Pages is configured in GitHub Actions mode. The only repository-local code executed by CI is
scripts/validate_content.py and mdBook itself.
src/ Markdown chapters and static assets
theme/ Minimal mdBook overrides (CSS, header, head)
scripts/ Standard-library content validator
.github/ Workflow, issue forms, PR template, CODEOWNERS
book.toml mdBook configuration and canonical site URL
- Original documentation contributed to this library is published under Creative Commons Attribution 4.0, with credit to the contributor.
- Scripts, workflow files and theme overrides are MIT.
- External resources remain under their own licences and are linked at the canonical source.
- Fonts are SIL Open Font License 1.1; see
src/assets/fonts/FONT-LICENSES.md.
Do not upload copyrighted textbooks, publisher slides, leaked exam papers or personal student data.