Closed sneumann closed 2 years ago
Further hints to a solution might be provided by the docusaurus docs: https://docusaurus.io/docs/api/docusaurus-config#trailing-slash
In docusaurus.config.js this is currently set to:
trailingSlash: 'true',
I will look into this issue. This property is set true
on purpose as the link structure did not work without it and must not be changed without prior testing.
Fixed with commit 5bd03543b605c4727a35446dc03e1d52e14df282
Problem was solved with help from https://stackoverflow.com/questions/65307533/link-to-static-json-file/67637081
Hi, in https://github.com/NFDI4Chem/knowledge_base/blob/main/docs/40_topics/70_machine-readable_chemical_structures.mdx#provide-machine-readable-data-as-supplementary-table there is a link written in mdx without trailling slash as:
The rendered HTML at https://knowledgebase.nfdi4chem.de/knowledge_base/docs/topics/machine-readable_chemical_structures/#provide-machine-readable-data-as-supplementary-table has a trailing slash resulting in a 404:
There is some discussion in https://github.com/facebook/docusaurus/issues/2654 but I don't fully grasp what needs to be done where. Yours, Steffen