Add a Documentation Site to the Portal
Use this guide when onboarding a new technical documentation site into the Developer Portal.
Supported ingestion formats
The Developer Portal ingestion pipeline currently supports documentation content in Markdown and template-documentation-site style structures.
Step 1: Prepare your documentation repository
Choose one of these paths:
- Create a new repository from template-documentation-site.
- Use an existing repository that already publishes documentation in Markdown.
Before raising a request, make sure:
- Your content is clear for all users and suitable for public publication.
- Links and navigation work.
- There is an owning team/contact for the documentation.
Step 2: Raise a pull request to add your site
In ministryofjustice/ministry-of-justice-developer-portal:
- Create a branch for your onboarding change.
- Update
sources.jsonin that branch. - Open a pull request from your branch to
main. - Use a clear title, for example:
Add <your-team-docs-repo> to Developer Portal. - Include the repository URL, source format (template-documentation-site or Markdown), owning team, and expected portal section/category.
- Post the PR in #ask-developer-experience for review.
Add your source in sources.json
To add a new documentation source, update:
Use the existing entries in that file as your template.
Relevant fields for a new source entry:
id(required): unique slug for your source, for examplemy-service-docs.name(required): display name shown in the portal.description(required): short summary of what the documentation covers.category(required): section in the portal (for exampleplatformordocumentation).repo(required): GitHub repository inowner/repoformat.branch(required): source branch, usuallymain.docsPath(required): folder path inside your repository where docs live.format(required): content format, typicallytech-docs-templateormarkdown.enabled(required): set totruewhen ready to include the source.owner_slack(recommended): support channel for ownership/contact.navGrouping(optional): advanced navigation grouping used by some sources.
If you are not sure about category, docsPath, or format, ask in #ask-developer-experience before opening the PR.
Step 3: Wait for review and merge
- The Developer Experience team reviews your PR.
- You respond to feedback and update the PR if needed.
- Once approved, the PR is merged and your documentation is added to the portal.
What happens after your PR is merged
- Developer Portal workflows run to pick up your source. This is not an immediate auto-refresh yet, so updates may take time to appear.
- Your documentation appears in the portal navigation/category agreed in the PR.
- Search indexing updates and your new pages become discoverable.
- If anything looks wrong, raise a follow-up PR with fixes or ask in #ask-developer-experience.
This page was last reviewed on 9 July 2026.
It needs to be reviewed again on 9 January 2027
by the page owner #developer-experience-alerts
.
This page was set to be reviewed before 9 January 2027
by the page owner #developer-experience-alerts.
This might mean the content is out of date.