| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Migrates the site from Jekyll/Just the Docs to MkDocs Material, moving content under docs/, applying a GitHub-dark visual theme, and updating CI/deploy pipelines to build and publish MkDocs output while aiming to maintain a strict on-page CSP.
Changes:
Copilot reviewed 21 out of 25 changed files in this pull request and generated 1 comment.
Show a summary per file| File | Description |
|---|---|
| requirements.txt | Adds MkDocs Material dependency for Python-based builds. |
| mkdocs.yml | Defines MkDocs Material theme, nav, extensions, and custom CSS. |
| overrides/main.html | Injects CSP/referrer/etc. meta tags via Material template override. |
| .github/workflows/ci.yml | Switches CI from Ruby/Jekyll to Python/MkDocs strict builds. |
| .github/workflows/deploy.yml | Switches deploy build to MkDocs and uploads site/ artifact. |
| docs/index.md | New MkDocs home page content and updated internal linking. |
| docs/about.md | Updates About page formatting/content for MkDocs. |
| docs/projects/index.md | New Projects index page in MkDocs structure. |
| docs/projects/assets-and-map-editor.md | Converts project page to MkDocs Material components (cards/tabs/admonitions/buttons). |
| docs/guides/index.md | New Guides index page in MkDocs structure. |
| docs/guides/adding-pages.md | New contribution guide for MkDocs workflow and Markdown features. |
| docs/guides/security.md | Updates security guide to reflect MkDocs CSP approach and formatting. |
| docs/assets/css/github-dark.css | Adds GitHub-dark theme styling overrides for Material. |
| docs/assets/images/logo.svg | Adds new logo asset for Material theme. |
| docs/assets/images/favicon.svg | Adds new favicon asset for Material theme. |
| index.md | Removes old Jekyll home page (migrated to docs/index.md). |
| projects/index.md | Removes old Jekyll Projects index (migrated to docs/projects/index.md). |
| guides/index.md | Removes old Jekyll Guides index (migrated to docs/guides/index.md). |
| guides/adding-pages.md | Removes old Jekyll guide (replaced by docs/guides/adding-pages.md). |
| assets/css/custom.css | Removes Just the Docs custom CSS (replaced by MkDocs CSS). |
| _includes/head_custom.html | Removes Jekyll head include (replaced by MkDocs override). |
| _sass/color_schemes/disttopic-dark.scss | Removes Just the Docs color scheme SCSS. |
| _config.yml | Removes Jekyll site configuration. |
| Gemfile | Removes Ruby/Jekyll dependencies. |
| Gemfile.lock | Removes Ruby lockfile no longer used. |
docs/guides/security.md:23
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| <!-- Security: Prevent clickjacking --> | ||
| <meta http-equiv="X-Frame-Options" content="DENY"> | ||
|
|
||
| <!-- Security: Prevent MIME type sniffing --> | ||
| <meta http-equiv="X-Content-Type-Options" content="nosniff"> | ||
|
|
||
| <!-- Security: Referrer policy --> | ||
| <meta name="referrer" content="strict-origin-when-cross-origin"> | ||
|
|
||
| <!-- Security: Permissions policy --> | ||
| <meta http-equiv="Permissions-Policy" | ||
| content="camera=(), microphone=(), geolocation=(), payment=(), usb=(), magnetometer=(), gyroscope=(), accelerometer=()"> | ||
|
|
There was a problem hiding this comment.
These directives are response headers, but X-Frame-Options, X-Content-Type-Options, and Permissions-Policy are not reliably/enforced when set via <meta http-equiv=...> (many browsers ignore them). Since GitHub Pages doesn’t let you emit arbitrary HTTP headers, consider removing these meta tags (to avoid a false sense of protection) and rely on the CSP frame-ancestors 'none' + <meta name="referrer">, or document that only CSP/referrer are actually enforced.
| <!-- Security: Prevent clickjacking --> | |
| <meta http-equiv="X-Frame-Options" content="DENY"> | |
| <!-- Security: Prevent MIME type sniffing --> | |
| <meta http-equiv="X-Content-Type-Options" content="nosniff"> | |
| <!-- Security: Referrer policy --> | |
| <meta name="referrer" content="strict-origin-when-cross-origin"> | |
| <!-- Security: Permissions policy --> | |
| <meta http-equiv="Permissions-Policy" | |
| content="camera=(), microphone=(), geolocation=(), payment=(), usb=(), magnetometer=(), gyroscope=(), accelerometer=()"> | |
| <!-- Security: Referrer policy --> | |
| <meta name="referrer" content="strict-origin-when-cross-origin"> |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.