fix wrong links throughout the docs #2496
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
when I use
mkdocs serve
, I got these information:INFO - Doc file 'index.md' contains an unrecognized relative link 'query/queries/', it was left as is.
INFO - Doc file 'index.md' contains an unrecognized relative link 'api/intro/', it was left as is. Did you mean 'api/intro.md'?
INFO - Doc file 'index.md' contains an unrecognized relative link 'queries/dql-js-inline/#dataview-query-language-dql', it was left as is. Did you mean
'queries/dql-js-inline.md#dataview-query-language-dql'?
INFO - Doc file 'index.md' contains an unrecognized relative link 'queries/dql-js-inline#inline-dql', it was left as is. Did you mean 'queries/dql-js-inline.md#inline-dql'?
INFO - Doc file 'index.md' contains an unrecognized relative link 'queries/dql-js-inline#dataview-js', it was left as is. Did you mean 'queries/dql-js-inline.md#dataview-js'?
INFO - Doc file 'index.md' contains an unrecognized relative link 'queries/dql-js-inline#inline-dql', it was left as is. Did you mean 'queries/dql-js-inline.md#inline-dql'?
INFO - Doc file 'index.md' contains an unrecognized relative link 'queries/data-commands#from', it was left as is. Did you mean 'queries/data-commands.md#from'?
INFO - Doc file 'index.md' contains an unrecognized relative link 'queries/query-types#calendar-queries', it was left as is. Did you mean 'queries/query-types.md#calendar-queries'?
INFO - Doc file 'changelog.md' contains an unrecognized relative link 'to', it was left as is.
INFO - Doc file 'annotation/add-metadata.md' contains an unrecognized relative link '../types-of-metadata/#text', it was left as is. Did you mean 'types-of-metadata.md#text'?
INFO - Doc file 'annotation/add-metadata.md' contains an unrecognized relative link '../types-of-metadata/#date', it was left as is. Did you mean 'types-of-metadata.md#date'?
INFO - Doc file 'annotation/add-metadata.md' contains an unrecognized relative link '../types-of-metadata/#object', it was left as is. Did you mean 'types-of-metadata.md#object'?
INFO - Doc file 'annotation/metadata-tasks.md' contains an unrecognized relative link '../add-metadata/#inline-fields', it was left as is. Did you mean 'add-metadata.md#inline-fields'?
INFO - Doc file 'annotation/types-of-metadata.md' contains an unrecognized relative link './../../reference/literals/#dates', it was left as is. Did you mean '../reference/literals.md#dates'?
INFO - Doc file 'annotation/types-of-metadata.md' contains an unrecognized relative link '../../reference/functions/#dateformatdatedatetime-string', it was left as is. Did you mean
'../reference/functions.md#dateformatdatedatetime-string'?
INFO - Doc file 'annotation/types-of-metadata.md' contains an unrecognized relative link './../../reference/literals/#durations', it was left as is. Did you mean '../reference/literals.md#durations'?
INFO - Doc file 'annotation/types-of-metadata.md' contains an unrecognized relative link './../../reference/literals/#dates', it was left as is. Did you mean '../reference/literals.md#dates'?
INFO - Doc file 'api/code-reference.md' contains an unrecognized relative link '../../reference/sources', it was left as is. Did you mean '../reference/sources.md'?
INFO - Doc file 'api/code-reference.md' contains an unrecognized relative link '../data-array', it was left as is. Did you mean 'data-array.md'?
INFO - Doc file 'api/code-reference.md' contains an unrecognized relative link '../data-array', it was left as is. Did you mean 'data-array.md'?
INFO - Doc file 'api/code-reference.md' contains an unrecognized relative link '../data-array', it was left as is. Did you mean 'data-array.md'?
INFO - Doc file 'api/intro.md' contains an unrecognized relative link '../code-reference/', it was left as is. Did you mean 'code-reference.md'?
INFO - Doc file 'api/intro.md' contains an unrecognized relative link '../code-reference/', it was left as is. Did you mean 'code-reference.md'?
INFO - Doc file 'queries/data-commands.md' contains an unrecognized relative link '../reference/sources', it was left as is. Did you mean '../reference/sources.md'?
INFO - Doc file 'queries/differences-to-sql.md' contains an unrecognized relative link '../../queries/data-commands', it was left as is. Did you mean 'data-commands.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../queries/structure', it was left as is. Did you mean 'structure.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../queries/differences-to-sql', it was left as is. Did you mean 'differences-to-sql.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../queries/structure', it was left as is. Did you mean 'structure.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../resources/examples', it was left as is. Did you mean '../resources/examples.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../reference/expressions', it was left as is. Did you mean '../reference/expressions.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../reference/literals', it was left as is. Did you mean '../reference/literals.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../reference/functions', it was left as is. Did you mean '../reference/functions.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../api/intro', it was left as is. Did you mean '../api/intro.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../api/code-reference', it was left as is. Did you mean '../api/code-reference.md'?
INFO - Doc file 'queries/dql-js-inline.md' contains an unrecognized relative link '../../api/code-examples', it was left as is. Did you mean '../api/code-examples.md'?
INFO - Doc file 'queries/structure.md' contains an unrecognized relative link '../../queries/differences-to-sql', it was left as is. Did you mean 'differences-to-sql.md'?
INFO - Doc file 'queries/structure.md' contains an unrecognized relative link '../../reference/sources', it was left as is. Did you mean '../reference/sources.md'?
INFO - Doc file 'queries/structure.md' contains an unrecognized relative link '../../reference/sources', it was left as is. Did you mean '../reference/sources.md'?
INFO - Doc file 'reference/expressions.md' contains an unrecognized relative link '../functions', it was left as is. Did you mean 'functions.md'?
INFO - Doc file 'reference/literals.md' contains an unrecognized relative link '../functions/#dateany', it was left as is. Did you mean 'functions.md#dateany'?
INFO - Doc file 'reference/sources.md' contains an unrecognized relative link '../queries/data-commands#from', it was left as is. Did you mean '../queries/data-commands.md#from'?
INFO - Doc file 'resources/faq.md' contains an unrecognized relative link '../../api/code-reference/#dvviewpath-input', it was left as is. Did you mean '../api/code-reference.md#dvviewpath-input'?
INFO - Doc file 'resources/faq.md' contains an unrecognized relative link '../../queries/dql-js-inline#inline-dql', it was left as is. Did you mean '../queries/dql-js-inline.md#inline-dql'?
INFO - Doc file 'index.md' contains a link 'queries/query-types.md#task-queries', but the doc 'queries/query-types.md' does not contain an anchor '#task-queries'.
INFO - Doc file 'annotation/metadata-tasks.md' contains a link '../queries/query-types.md#task-queries', but the doc 'queries/query-types.md' does not contain an anchor '#task-queries'.
Here I've fixed these problems.
I've noticed this problem in some of my under-use softwares, mybe I can make a pull request to
mkdocs
to solve this link problem when change file directory structures.