Giter Site home page Giter Site logo

spacedoc's Introduction

Spacedoc

A fancy documentation generator that can mash up documentation from multiple sources, such as SassDoc and JSDoc. Spacedoc was originally forked from Supercollider, the documentation tool used by the Foundation family of frameworks.

Features

Documentation

Read the overview section of the documentation to get an overview of how Spacedoc works. Then check out the full documentation.

Local Development

git clone https://github.com/spacedoc/spacedoc
cd Spacedoc
npm run bootstrap
npm test

Repo Structure

Spacedoc is a monorepo powered by Lerna. This means all of the library's core packages are maintained here in the same repository, and published as separate modules using the same version numbers.

The packages include:

  • spacedoc: core library.
  • spacedoc-helpers: template helper functions.
  • spacedoc-js: JSDoc adapter.
  • spacedoc-sass: SassDoc adapter.

spacedoc's People

Contributors

gakimball avatar thompsongl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spacedoc's Issues

Navigation customization

There are many ways a developer might want to structure the navigation of the site. Of course, we could make them type it all out manually, but where's the fun in that?

Potential options:

  • Flat list of pages
  • Grouped by folder
  • Grouped by group metadata
  • Flat or grouped pages with custom ordering
  • Some pages/folders are excluded from nav
  • Nav from other packages inserted

Simplify logging

Something like this:

File changed: pages/index.md
Parsing 1/1 pages...
Building 1/10 pages...

Incremental builds

Incremental builds were removed in eb74574. Here's a better way to implement them:

  • When a page changes, only re-parse that page, and replace it in the tree.
  • Then build every page again.

Watch source files linked to a page

Re-compiles of the static site are only triggered when a page changes, not when a source file linked to a page changes.

Ideally, changing a source file only re-compiles pages linked to that file. Search results are also re-compiled.

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.