Discussions
Recipe: Duplicate Guides Across Projects. Needs Version?
Hi,
I'm looking at the recipe to duplicate guides across projects.
<https://docs.readme.com/main/recipes/duplicate-guides-across-projects>
I see that we need an API Key and a category slug for the source and the target projects.
But what if there are two categories with the same slug in the source project? This could happen if the categories are distinguished by version. For example, say you have a category slug called getting-started in version 1.0, and you have another category slug called getting-started in version 2.0.
In the recipe in line 8, how to you specify which version the slug applies to?
const categorySourceSlug = 'SOURCE_CATEGORY_SLUG'; //which version!?!
Thanks-- Jason
Posted by Jason Langkamer-Smith about 1 month ago
Bug in /discuss (React SSR Error)
There is a bug in the latest Readme release for the discussion forum.
If you are logged in or active on any Readme site:
1. Go to /discuss e.g. <https://sample-threes.readme.io/discuss>
2. Open any post --> Works fine
3. Open the URL in a new window directly e.g. <https://sample-threes.readme.io/discuss/65e9e84b09a04a00644d84e5> --> Below error in console
Doesn't seem to happen if you aren't logged in.
```
65e9f0775e2afa0010f6e856:24 React SSR Error: TypeError: (0 , n.isPlainObject) is not a function
at Object.isText (/app/packages/react/dist/hub/node/7617.c02f9e8a6f576fb94607.js:1:136234)
at Object.isNode (/app/packages/react/dist/hub/node/7617.c02f9e8a6f576fb94607.js:1:122292)
at /app/packages/react/dist/hub/node/7617.c02f9e8a6f576fb94607.js:1:122437
at Array.every (<anonymous>)
at Object.isNodeList (/app/packages/react/dist/hub/node/7617.c02f9e8a6f576fb94607.js:1:122424)
at /app/packages/react/dist/hub/node/7617.c02f9e8a6f576fb94607.js:1:74569
at Ga (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:28:265)
at Object.useState (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:31:35)
at exports.useState (/app/node_modules/react/cjs/react.production.min.js:25:281)
at Wt (/app/packages/react/dist/hub/node/7617.c02f9e8a6f576fb94607.js:1:74545)
at d (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:498)
at $a (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:39:16)
at b.render (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:44:476)
at b.read (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:44:18)
at renderToString (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:54:364)
at extractChunks (/app/packages/react-interop/dist/middleware/react.js:66:21)
at res.locals.renderReactApp (/app/packages/react-interop/dist/middleware/react.js:373:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /app/packages/hub/dist/controllers/discuss.js:164:30
```
Also looking forwrad to better spam control with post approvals and email/IP block, default links to be `nofollow` etc
Posted by null about 2 months ago
Can I mark the best answer?
Is it possible to mark an answer as the best answer? Also, can we get a leaderboard based on answer questions correctly?
Posted by Josue Negron about 2 months ago
Can you add the ability to export APIs into PDF?
I noticed you can only export Guides, we have lots of internal users asking for PDF exports of the APIs and I have been using <https://www.npmjs.com/package/apibake>, can we get this into the product?
Posted by Josue Negron about 2 months ago
How do I edit the Langin Page width with custom HTML/CSS
The default css of the landing page width is narrow for what we want. What CSS hook allows us to overwrite the width of the Landing when using custom HTML?
Posted by Josh about 2 months ago
URL encode query parameters in API Reference
My API allows query parameters that can contain special characters (for example, phone numbers with a `+` prefix). When users plug in the string with the special characters into the relevant query param in the API Reference and click "try it!" they expect for the special characters to be encoded correctly into the URL within the generated CURL. Is this a feature we can enable?
Posted by Samantha Voigt about 2 months ago
Adding a version prompts error: Error submitting form
Hi,
When I try to add a new version I'm getting an error 'Error submitting form' without more details for troubleshooting. I'm trying to fork my only other version.
Any pointers would be great.
Posted by Thimo Bosma about 2 months ago
Missing body parameters
![](https://files.readme.io/d20059e-image.png)
Hey,
I'm trying to configure Readme.com to show OpenApi specs but it does not always work.
Some endpoints are ok but most of them have no body params at all (the same works in swagger/other open api hosting tool we currently use).
Also, OpenApi file is valid according to rdme:
"... is a valid OpenAPI API definition!"
Is there any debug mode or logs I could check to analyse this issue?
Posted by Mariusz Balawajder 2 months ago
Feature Request: Line Numbers in Raw Mode
We're cleaning up our doc post-migration from Confluence and finding very old duplicates. It would sure save a lot of time if we could simple look at how many lines each duplicate has as an indicator of the best one to keep. Thanks for considering this.
Posted by David Simerly 2 months ago
Typing math in the docs
Do you support typing math, i.e. equations, in the docs?
It requires additional markdown extension, for example, <https://squidfunk.github.io/mkdocs-material/reference/math/>
Posted by Yujie Qian 2 months ago