-
Notifications
You must be signed in to change notification settings - Fork 23
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
Updated Docs engine #233
Updated Docs engine #233
Conversation
Gatsby Cloud Build Reportcml.dev 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 1m PerformanceLighthouse report
|
src/gatsby/models.js
Outdated
const imageSourcePaths = require('./models/image-source-paths') | ||
const github = require('./models/github') | ||
const pruneCache = require('./models/prune-cache') | ||
|
||
const models = [markdownContent, docs, imageSourcePaths, github, pruneCache] | ||
const models = [markdownContent, imageSourcePaths, github, pruneCache] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think markdownContent
can be removed as well, since nothing aside from docs used it as cml.dev has no blog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far! Awesome that it fixes some existing bugs. There could be more scrubbing done to remove what the theme replaces, but that's not a hugely pressing issue.
I did notice the 404 page doesn't have headers or footers though, which would be annoying in specific situations where the user hits 404 without a page to go back to (outdated links, primarily).
Thanks, @rogermparent. |
Opened an issue! (#238) |
@julieg18 Thanks for opening the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I definitely should have checked production, but thanks for fixing the issue in this PR!
With that done, I'd say this PR is mergeable!
Updated docs engine to use reusable package gatsby-theme-iterative.
The latest
[email protected]
update iterative/gatsby-theme-iterative#7 does include features requested for cml docs.Fixes #157
Fixes #187
Fixes #238
A Example usage:
https://cmldev-docsengine.gtsb.io/doc/ref/ci
0ca4d40#diff-2285ff562ca51e66d2c3fc4bc92b4a380b47afab4449dfd2c5a07c221f9d9305