Giter Club home page Giter Club logo

Comments (4)

domharrington avatar domharrington commented on August 29, 2024

You need to provide the category slug, not a doc slug. As I said in #15, the category slug isn't typically surfaced with a regular readme setup. It's auto generated based on name on creation.

Adding a new doc in the dash does allow you to see the category slug:
image

from rdme.

maxpumperla avatar maxpumperla commented on August 29, 2024

@domharrington ok, thanks for clarifying. you seem to call everything a "slug" in your documentation. it's sometimes difficult to know what that refers to. So you have "category slug" and "document slug". the categories endpoints use the former. good to know.

from rdme.

maxpumperla avatar maxpumperla commented on August 29, 2024

@domharrington sorry, I checked again and still have problems retrieving the category slug. I can't confirm that I can see the document slug in the UI, even if I create new documents, as you suggested. Here is one example (it's the same in dash, but I can't share that):

https://docs.skymind.ai/docs/data-utilities-transforms

this does not come with the "workflow" document slug that I know exists (by checking the /categories/slug API). The real problem is that I have a few categories whose slugs I can't reverse engineer for the life of mine. We have a category called "Getting Started" that has been called like that since the dawn of time (afaict), but its slug is none of the obvious regex-able candidates.

What do I do? Is there absolutely 0 chance to get the category slug from anywhere?

from rdme.

domharrington avatar domharrington commented on August 29, 2024

If you click the + button in the dash:
image

You'll see the category slug in the URL right before /add:
image

Your slug appears to be bb for that category.

from rdme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.