Comments (6)
@kvyb hi where did you reach out? We'd love to help. Was it over email or the slack community..?
from docs.
@hahnbeelee it was over intercom on the 500 page.
from docs.
@hahnbeelee can I get an update on this please?
from docs.
@kvyb the issue is that you have unescaped curly braces in api-reference/example-usage
. If you attempt to navigate to this page using our CLI, you'll see:
ReferenceError: entity_id is not defined
at _createMdxContent (eval at <anonymous> (/Users/rpmccarter/.mintlify/mint/client/.next/server/chunks/623.js:38233:35), <anonymous>:142:110)
...
This is because, in mdx, curly braces are used to invoke variables. Our mdx parser is attempting to replace {entity_id}
with the value of the variable entity_id
, but the variable does not exist. (We don't support variables at the moment.) To fix this, escape the curly brackets with a backslash:
make a GET request to /get\_question/\{entity_id\}, replacing \{entity_id\} with the ID
...
make a POST request to /process\_chunk/\{entity_id\}
Let me know if this works for you! Also, we have plans to block deployments that contain syntax errors in the future, since this should never get deployed in the first place. Stay tuned for that feature
from docs.
@rpmccarter thanks for the update. It's interesting that there are no errors or unusual behaviour when running it locally.
from docs.
@kvyb the error in my response showed up when running locally - it should for you as well. Make sure your CLI is up-to-date with npm upgrade -g mintlify
from docs.
Related Issues (20)
- Expand Object Properties doesn't work with paramfield
- Missing the Workflow? HOT 2
- Issue on docs: Local development instructions are missing steps
- Get started button takes you to 404 page HOT 1
- Issue on docs: wrong external link
- Ability to provide custom React components?
- How to customize SEO default values in `mint.json`?
- Provide mint.json configuration option to customise suggest edit branch
- Feature Request: Add producthunt to footer socials
- Bug: Doc linking to the wrong place? HOT 1
- Future request: tab-able API accordion items HOT 1
- How to add a multilingual document? HOT 1
- Add support for Umami analytics
- Add support for links in Steps component titles HOT 1
- About the relative path of the images
- broken-links CLI bugs HOT 1
- Snippets only works on top-level
- Suggest Edits button not showing
- Feature Request: Configurable primary text color
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 docs.