GithubHelp home page GithubHelp logo

docpress-core's Introduction

Docpress

Painless Markdown publishing

Documentation website generator.
Generates great websites from Markdown files.

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status

Table of Contents

What is it

Docpress generates websites from your project's basic documentation; that is, at the very least, a README.md file. It also supports multiple Markdown pages in docs/.

Under heavy development now; guides and instructions will magically appear here when we're stable.

Examples

Check out the Docpress Showcase to see how Docpress helped developers build great-looking websites.

Usage

Still under heavy development, consider this a preview. Requires Node v8+. See the Getting Started guide for more details.

$ npm install -g docpress
$ echo "# My project" > README.md
$ echo "Documented by Markdown files." >> README.md
$ docpress serve

  Docpress
  starting development - ^C to exit

  350ms ✓   first build                 
      on    watching changes
      on    livereload
      on    http://localhost:3000

  Running

Support

Let's build our first Docpress site. Quickstart guide →

Thanks

docpress © 2015+, Rico Sta. Cruz. Released under the MIT License.
Authored and maintained by Rico Sta. Cruz with help from contributors (list).

ricostacruz.com  ·  GitHub @rstacruz  ·  Twitter @rstacruz

docpress-core's People

Contributors

dependabot[bot] avatar dwatow avatar greenkeeperio-bot avatar kikobeats avatar kjantzer avatar knownasilya avatar omrilotan avatar rstacruz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docpress-core's Issues

Proposal: should missing local images links fail the build?

Currently they do....

However, GitHub supports linking to repo images in the README markdown files, like so:

# <img src="./icons/32x32.png"> Bathroom Status Chrome Extension (example)

However, this currently fails the build because of line 64 in fix_html.js

throw new Error(${base}: Unknown reference '${origUrl}')

What do you think about changing the fatal error to a console.error so that the docs still build. I'd rather have a broken image then no docs at all.

Side note:
I looked around the Metalsmith docs to see if there was a way of copying the local image to the build directory, but I didn't find anything solution.

Feature: adding an "ignore" option in docpress.json

When using docpress in a large code base it would be nice to tell the watcher to ignore certain directories. Not only can this improve the speed but it also fixes a problem I recently discovered where building the docs will not work because it's trying to reach inside of a electron app build.

Publish version

We should probably publish a version, since the site is already updated and the bug fix.

Add links support

This issue is related with the ability to directly refer link in the Table of Contents, instead of link a file.

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.