Skip to content

Update canonical URL#117

Merged
nahsra merged 2 commits intomainfrom
fix-canonical-url
Dec 22, 2023
Merged

Update canonical URL#117
nahsra merged 2 commits intomainfrom
fix-canonical-url

Conversation

@nahsra
Copy link
Copy Markdown
Contributor

@nahsra nahsra commented Dec 22, 2023

This will prevent a 404 when someone goes to docs.pixee.ai//.

@nahsra nahsra requested a review from CRRogo December 22, 2023 15:39
Comment thread docusaurus.config.js Outdated
@@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const config = {
title: 'Pixee',
tagline: 'Elevate your code, one automated commit at a time.', //TODO: We need a tag line!
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related at all to this PR but maybe this should be "Pixeebot is your automated product security engineer"

@nahsra nahsra merged commit b08a7fc into main Dec 22, 2023
dhafley added a commit that referenced this pull request May 5, 2026
Adds migration/ at the repo root as a historical record of the 2026-05-05
docs redesign. Contents:

- ASSESSMENT.md — planning and decision log, including the three-repo deploy
  flow, redirect table, SEO additions, and what was actually executed.
- migrate.py — one-shot Python script that ported PR #117 content into
  docs/docs/, normalized frontmatter, dropped numeric prefixes, generated
  _category_.json files.
- fixup_links.py — one-shot link-fixup pass that fixed 27 internal markdown
  links across 9 files after migrate.py.
- README.md — orientation for future readers, plus a clear DO-NOT-RE-RUN
  warning (migrate.py would wipe the manually-authored Contrast page and
  revert the welcome doc's slug: /).

Lives at the repo root rather than docs/migration/ so Docusaurus does not
treat these files as published pages.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dhafley added a commit that referenced this pull request May 5, 2026
Restructures the flat /integrations/<x> layout into two clean
subcategories that match the way the integrations actually divide:
SCM platforms (where Pixee delivers fixes) and scanning tools (where
findings come from). Moves URLs from /integrations/<x> to
/integrations/{scms,scanners}/<x> and adds redirects.

SCMs (4 pages) under docs/integrations/scms/:
- github.md       (renamed from github-platform.md, content unchanged)
- gitlab.md       (split out from scm-platform-reference.md)
- azure-devops.md (split out from scm-platform-reference.md)
- bitbucket.md    (split out from scm-platform-reference.md)

Scanners (14 pages) under docs/integrations/scanners/:
- appscan.md, checkmarx.md, codeql.md, contrast.md, gitlab-sast.md,
  semgrep.md, snyk-code.md, sonarqube.md, veracode.md (moved from flat)
- polaris.md, fortify.md   (split out from commercial-scanners.md)
- trivy.md, defectdojo.md  (split out from oss-aggregator-scanners.md)
- gitlab-sca.md            (newly authored to match the SCA scope —
  this content was missing from PR #117 and needs colleague review)

Removes three consolidated wrapper pages now that each scanner / SCM
has its own page: commercial-scanners.md, oss-aggregator-scanners.md,
scm-platform-reference.md.

Sidebar (autogen, no hand-built):
- /integrations/overview        (sidebar_position: 1)
- /integrations/sarif-universal (sidebar_position: 2)
- Source Control subcategory    (position: 3, generated-index landing)
- Scanning Tools subcategory    (position: 4, generated-index landing)

Each subcategory gets a generated-index landing at /category/source-control
and /category/scanning-tools respectively, which renders a card list of the
pages inside.

Redirects (added to docusaurus.config.js):
- /integrations/<flat-scanner>      -> /integrations/scanners/<x>  (9 rules)
- /integrations/github              -> /integrations/scms/github
- /integrations/{commercial-scanners,oss-aggregator-scanners,scm-platforms}
                                    -> /integrations/overview
- Pre-existing /code-scanning-tools/* and /integrations/sonar redirects
  retargeted to the new /integrations/scanners/<x> URLs.

Body content: 2 internal links updated from /integrations/codeql to
/integrations/scanners/codeql in the new github.md page.

Overview rewrite: integrations-overview.md updated to reflect the new
two-category structure, refreshed coverage matrix (13 scanners), and
new SCM links pointing at /integrations/scms/<x>.

Migration archive: migration/integrations_restructure.py captures the
mechanical operations (file moves, frontmatter updates, body-link
fixup, wrapper deletions) for posterity. Will not be re-run.

Verification:
- yarn build clean (77 docs processed; was 72 before this commit).
- yarn serve verified all 4 SCM pages, all 14 scanner pages, both
  generated-index landings, 8 sample redirects, and sidebar order.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants