Comments (5)
Is your screenshot of the markdown showing the output of docu-notion?
If yes, it seems that docu-notion is creating the expected output. If this is not expected, what should it be?
Is your Navigator Settings page published?
from docu-notion.
Is your screenshot of the markdown showing the output of docu-notion? If yes, it seems that docu-notion is creating the expected output. If this is not expected, what should it be?
Is your Navigator Settings page published?
Yes, the page is published and yes the output is from docu-notion. Shouldn't the relative link work and docusaurus compile? If I don't use Link to Page
in Notion I must use Mention a Page
, but for this the notion.so/hdjksandka
links are not resolved. See #97
Thank you
from docu-notion.
Could you please clarify what you expect the docu-notion output to be?
Note, there is a slight chance there is a difference due to using docusaurus v3.
We have only tested docu-notion output with docusaurus v2 so far.
But I highly doubt that the resolution of urls would have changed.
from docu-notion.
I use docusaurus v3. I specifically decided on docusaurus as there is this nice docu-notion package ;)
The link should be /docs/settings
. I use the docs prefix for the documentation
since I have 'pages' as well. So docu-notion would need to look up whether there is a prefix defined in the docuraurus config. This is the issue I believe.
from docu-notion.
I'm sorry I don't have time to look at this.
We don't have anyone in our sphere using this for more than just docs
at the moment, so it is true that could be the issue.
Note, I see in the docusaurus docs that they don't recommend making link paths based on (/docs/*). See https://docusaurus.io/docs/markdown-features/links.
Relative file paths are resolved against the current file's directory. Absolute file paths, on the other hand, are resolved relative to the content root, usually docs/, blog/, or localized ones like i18n/zh-Hans/plugin-content-docs/current.
Absolute file paths can also be relative to the site directory. However, beware that links that begin with /docs/ or /blog/ are not portable as you would need to manually update them if you create new doc versions or localize them.
You can write [links](/otherFolder/doc4.mdx) relative to the content root (`/docs/`). You can also write [links](/docs/otherFolder/doc4.mdx) relative to the site directory, but it's not recommended.
from docu-notion.
Related Issues (20)
- "Mention Page" links don't work in Outline HOT 4
- Block mentions aren't working in docu-notion HOT 1
- H1 Headings are not included in the automatic Table of Contents on Bloom Docs HOT 4
- Add CSS to HOT 1
- Docusaurus v3 deprecates :::caution admonition
- Multiple links in a paragraph are not handled correctly HOT 1
- Toggle Items are rendered with </li> and <ul> tag. HOT 7
- Default description for page is not human readable
- More resilient image names HOT 10
- Issues using Sample Site Template HOT 5
- Page needs to be public? HOT 5
- Add comment about CSS to readme HOT 6
- C++ code block is not converted to cpp but c++
- [Question] How does it compares to notion-to-markdown HOT 5
- [FR/Question] support for database
- [Problem] New notion API links response format breaks links parsing and links to database pages.
- [Unsafe] Notion private token is being console.logged
- [Question] Context seem not to be passed to plugins
- "Mention Page" links don't point to local pages HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docu-notion.