Skip to content
A Nuxt.js setup to generate an intuitive, readable and collaborative API documentation with copy and paste able examples
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
components
content
deploy
layouts
lib
pages
sdks/ruby
static
store
.editorconfig
.gitignore
LICENSE
README.md
dg-config.js
docgen.js
netlify.toml
nuxt.config.js
package-lock.json
package.json
rendering-service.js
rs-config.js

README.md

Storyblok API Documentation

A Nuxt.js setup to generate an intuitive, readable and collaborative API documentation with copy and paste able examples

The Docs

Storyblok Documentation setup

Why?

We at Storyblok highly value your feedback and your desire to know more about our API and possible use-cases, examples and hidden features. To support that this project allows you to run our API documentation for the content delivery and management API completely offline and contribute to it.

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
# and generates doc jsons
$ npm run dev

# generate static project
$ npm run generate

The Folder Structure

- content
  - {origin}.{lang}.json
  - {origin} (content delivery or management)
    - {lang} (en, de, ...)
      - categories
        - method/section.md

How should the method/section.md look like:

---
title: The Sidebar Title & Headline
sidebarTitle: optional: This overrides the title
---

This is the method written content; the left area of a section.

;examplearea

This is the method example; the right area of a section.

Licence

Copyright 2019 Storyblok GmbH

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.