Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add partial markdown file without an h1 #277

Closed
timja opened this issue Oct 25, 2021 · 3 comments
Closed

Can't add partial markdown file without an h1 #277

timja opened this issue Oct 25, 2021 · 3 comments

Comments

@timja
Copy link
Contributor

timja commented Oct 25, 2021

image

Originally posted by @timja in #251 (comment)

Repo:
https://github.com/hmcts/hmcts.github.io

Branch:
add-partial

Page:
http://localhost:4567/ways-of-working/troubleshooting/#troubleshooting-issues

Compare view:
https://github.com/hmcts/hmcts.github.io/compare/add-partial

skip to source/ways-of-working/troubleshooting/clusters.md

(I'm on x-gov slack as well)

@richardTowers
Copy link
Contributor

It looks like the tech-docs-tool is trying to treat your partial as a full page.

Could you try prefixing the filename with an _ (so _culsters.md) to see if that fixes it?

The Middleman docs on partials suggest that this is needed: https://middlemanapp.com/basics/partials/

@timja
Copy link
Contributor Author

timja commented Oct 25, 2021

Oh thanks! sorry for the noise

@timja timja closed this as completed Oct 25, 2021
@richardTowers
Copy link
Contributor

No worries, happy we could help!

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

No branches or pull requests

2 participants