-
Notifications
You must be signed in to change notification settings - Fork 494
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
fix(website): Use native Mermaid, refactor contribution docs #3177
Conversation
Output❯ mkdocs serve
INFO - Building documentation...
template: articles.md.tmpl:9:22: executing "articles.md.tmpl" at <.articles>: can't evaluate field articles in type string
exit status 1
template: podcasts.md.tmpl:9:22: executing "podcasts.md.tmpl" at <.articles>: can't evaluate field articles in type string
exit status 1
template: videos.md.tmpl:9:22: executing "videos.md.tmpl" at <.articles>: can't evaluate field articles in type string
exit status 1
INFO - Cleaning site directory
INFO - The following pages exist in the docs directory, but are not included in the "nav" configuration:
- reference\templates\doppler\index.md
- reference\templates\doppler\doppler.md
- reference\templates\doppler\dopplerProjectJson.md
- user-guide\password-managers\doppler.md
WARNING - A relative path to 'reference/templates/doppler-functions/index.md' is included in the 'nav' configuration,
which is not found in the documentation files.
WARNING - A relative path to 'reference/templates/doppler-functions/doppler.md' is included in the 'nav' configuration,
which is not found in the documentation files.
WARNING - A relative path to 'reference/templates/doppler-functions/dopplerProjectJson.md' is included in the 'nav'
configuration, which is not found in the documentation files.
WARNING - A relative path to 'links/articles.md' is included in the 'nav' configuration, which is not found in the
documentation files.
WARNING - A relative path to 'links/podcasts.md' is included in the 'nav' configuration, which is not found in the
documentation files.
WARNING - A relative path to 'links/videos.md' is included in the 'nav' configuration, which is not found in the
documentation files.
INFO - Doc file 'index.md' contains an absolute link '/reference/release-history', it was left as is. Did you mean
'reference/release-history.md'?
INFO - Doc file 'index.md' contains an absolute link '/install/', it was left as is. Did you mean 'install.md'?
INFO - Doc file 'index.md' contains an absolute link '/install/', it was left as is. Did you mean 'install.md'?
INFO - Doc file 'index.md' contains an absolute link '/quick-start/', it was left as is. Did you mean
'quick-start.md'?
INFO - Doc file 'index.md' contains an absolute link '/user-guide/setup/', it was left as is. Did you mean
'user-guide/setup.md'?
INFO - Doc file 'index.md' contains an absolute link '/reference/', it was left as is. Did you mean
'reference/index.md'?
INFO - Doc file 'index.md' contains an absolute link '/links/articles', it was left as is.
INFO - Doc file 'index.md' contains an absolute link '/links/podcasts', it was left as is.
INFO - Doc file 'index.md' contains an absolute link '/links/videos', it was left as is.
INFO - Doc file 'index.md' contains an absolute link '/comparison-table/', it was left as is. Did you mean
'comparison-table.md'?
INFO - Doc file 'index.md' contains an absolute link '/links/dotfile-repos/', it was left as is. Did you mean
'links/dotfile-repos.md'?
INFO - Doc file 'index.md' contains an absolute link '/links/social-media/', it was left as is. Did you mean
'links/social-media.md'?
INFO - Doc file 'index.md' contains an absolute link '/links/dotfile-repos/', it was left as is. Did you mean
'links/dotfile-repos.md'?
INFO - Doc file 'index.md' contains an absolute link '/developer/contributing-changes/', it was left as is. Did you
mean 'developer/contributing-changes.md'?
INFO - Doc file 'install.md' contains an absolute link '/reference/release-history', it was left as is. Did you mean
'reference/release-history.md'?
INFO - Doc file 'install.md' contains an absolute link '/developer/releases/', it was left as is. Did you mean
'developer/releases.md'?
INFO - Doc file 'quick-start.md' contains an absolute link '/reference/concepts/', it was left as is. Did you mean
'reference/concepts.md'?
INFO - Doc file 'quick-start.md' contains an absolute link '/install/', it was left as is. Did you mean
'install.md'?
INFO - Doc file 'quick-start.md' contains an absolute link
'/user-guide/frequently-asked-questions/usage/#how-do-i-edit-my-dotfiles-with-chezmoi', it was left as is.
Did you mean 'user-guide/frequently-asked-questions/usage.md#how-do-i-edit-my-dotfiles-with-chezmoi'?
INFO - Doc file 'quick-start.md' contains an absolute link '/links/articles/', it was left as is.
INFO - Doc file 'quick-start.md' contains an absolute link '/user-guide/setup/', it was left as is. Did you mean
'user-guide/setup.md'?
INFO - Doc file 'quick-start.md' contains an absolute link '/links/dotfile-repos/', it was left as is. Did you mean
'links/dotfile-repos.md'?
INFO - Doc file 'developer/architecture.md' contains an absolute link '/reference/concepts/', it was left as is. Did
you mean '../reference/concepts.md'?
INFO - Doc file 'developer/contributing-changes.md' contains an absolute link '/developer/website/', it was left as
is. Did you mean 'website.md'?
INFO - Doc file 'developer/packaging.md' contains an absolute link '/install/', it was left as is. Did you mean
'../install.md'?
INFO - Doc file 'reference/command-line-flags/global.md' contains an absolute link '/reference/configuration-file',
it was left as is. Did you mean '../configuration-file/index.md'?
INFO - Doc file 'reference/commands/add.md' contains an absolute link
'/reference/special-files-and-directories/chezmoiexternal-format/', it was left as is. Did you mean
'../special-files-and-directories/chezmoiexternal-format.md'?
INFO - Doc file 'reference/special-files-and-directories/chezmoiexternal-format.md' contains an absolute link
'/user-guide/include-files-from-elsewhere/', it was left as is. Did you mean
'../../user-guide/include-files-from-elsewhere.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/doctor/', it was
left as is. Did you mean '../reference/commands/doctor.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/init/', it was left
as is. Did you mean '../reference/commands/init.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/add/', it was left
as is. Did you mean '../reference/commands/add.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/edit/', it was left
as is. Did you mean '../reference/commands/edit.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/status/', it was
left as is. Did you mean '../reference/commands/status.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/diff/', it was left
as is. Did you mean '../reference/commands/diff.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/apply/', it was left
as is. Did you mean '../reference/commands/apply.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/edit/', it was left
as is. Did you mean '../reference/commands/edit.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/cd/', it was left as
is. Did you mean '../reference/commands/cd.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/init/', it was left
as is. Did you mean '../reference/commands/init.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/init/', it was left
as is. Did you mean '../reference/commands/init.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/update/', it was
left as is. Did you mean '../reference/commands/update.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/data/', it was left
as is. Did you mean '../reference/commands/data.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/add/', it was left
as is. Did you mean '../reference/commands/add.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/chattr/', it was
left as is. Did you mean '../reference/commands/chattr.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/cat/', it was left
as is. Did you mean '../reference/commands/cat.md'?
INFO - Doc file 'user-guide/command-overview.md' contains an absolute link '/reference/commands/execute-template/',
it was left as is. Did you mean '../reference/commands/execute-template.md'?
INFO - Doc file 'user-guide/daily-operations.md' contains an absolute link '/reference/commands/init/', it was left
as is. Did you mean '../reference/commands/init.md'?
INFO - Doc file 'user-guide/include-files-from-elsewhere.md' contains an absolute link
'/reference/special-files-and-directories/chezmoiexternal-format/', it was left as is. Did you mean
'../reference/special-files-and-directories/chezmoiexternal-format.md'?
INFO - Doc file 'user-guide/manage-machine-to-machine-differences.md' contains an absolute link
'/reference/templates/functions/', it was left as is. Did you mean
'../reference/templates/functions/index.md'?
INFO - Doc file 'user-guide/templating.md' contains an absolute link '/reference/templates/functions/', it was left
as is. Did you mean '../reference/templates/functions/index.md'?
INFO - Doc file 'user-guide/templating.md' contains an absolute link '/reference/templates/variables/', it was left
as is. Did you mean '../reference/templates/variables.md'?
INFO - Doc file 'user-guide/advanced/migrate-away-from-chezmoi.md' contains an absolute link
'/reference/commands/purge/', it was left as is. Did you mean '../../reference/commands/purge.md'?
INFO - Doc file 'user-guide/advanced/migrate-away-from-chezmoi.md' contains an absolute link
'/reference/commands/archive/', it was left as is. Did you mean '../../reference/commands/archive.md'?
INFO - Doc file 'user-guide/advanced/migrate-away-from-chezmoi.md' contains an absolute link
'/reference/commands/dump/', it was left as is. Did you mean '../../reference/commands/dump.md'?
INFO - Doc file 'user-guide/frequently-asked-questions/design.md' contains an absolute link
'/reference/target-types/#symlink-mode', it was left as is. Did you mean
'../../reference/target-types.md#symlink-mode'?
INFO - Doc file 'user-guide/frequently-asked-questions/general.md' contains an absolute link
'/links/articles-podcasts-and-videos/', it was left as is.
INFO - Doc file 'user-guide/frequently-asked-questions/general.md' contains an absolute link
'/developer/contributing-changes/', it was left as is. Did you mean
'../../developer/contributing-changes.md'?
INFO - Doc file 'user-guide/frequently-asked-questions/troubleshooting.md' contains an absolute link '/install/', it
was left as is. Did you mean '../../install.md'?
INFO - Doc file 'user-guide/frequently-asked-questions/usage.md' contains an absolute link
'/reference/special-files-and-directories/chezmoiignore/', it was left as is. Did you mean
'../../reference/special-files-and-directories/chezmoiignore.md'?
INFO - Doc file 'user-guide/frequently-asked-questions/usage.md' contains an absolute link
'/user-guide/daily-operations/#automatically-commit-and-push-changes-to-your-repo', it was left as is. Did
you mean '../daily-operations.md#automatically-commit-and-push-changes-to-your-repo'?
INFO - Documentation built in 26.70 seconds
INFO - [14:41:08] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO - [14:41:08] Serving on http://127.0.0.1:8000/ which I can't recall seeing the last time I contributed to the website, |
8deefd3
to
e5c379d
Compare
I've encountered a few issues debugging the output. I'll open a new issue so they can be resolved first. |
@bradenhilton Is this superseded by #3181? |
@twpayne Partially. Aside from the (now outdated) contribution steps change, this just removes You can close for now if you'd like, I'll update the PR and switch it to |
Oops. I forgot that renaming a branch automatically closes PRs. |
The changes are now on my |
Fixes #3175
Without this change (chezmoi.io):
With this change (working copy):