Coder Social home page Coder Social logo

silversonicaxel / summary-more Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 617 KB

summary-more is a documentation-tool that search for all *.md files in your project and list them in the README.md file. What summary-more specifically does is to search in the folder (current or provided one) all the *.md files and list their links one by one inside a provided section of the README.md file.

License: MIT License

TypeScript 98.83% JavaScript 1.17%
readme readme-md summary md documentation-tool documentation

summary-more's Introduction

Build Status Coverage Status

summary-more

summary-more is a tool that search for all *.md files in your project and list them in the README.md file. What summary-more specifically does is to search in the folder (current or provided one) all the *.md files and list their links one by one inside a provided section of the README.md file. This is a fast and automatic way to quickly link all the documents inside of a project in the main README.md and it is pretty useful for massive or big documented projects.

The outcome of this application is visible in the example README.md.

Requirements

  • node 10.12+
  • npm 6.0+

Installation

summary-more can be installed as a global tool:

$ npm install -g summary-more

$ yarn global add summary-more

or as a devDependency:

$ npm install -D summary-more

$ yarn add --dev summary-more

Help

$ summary-more --help

Usage: summary-more [options] <option>

Options:

-v, --version                           output the version number
-s, --docsSection [docsSection]         * section title where documentation will be listed in README.md
-b, --baseFolder [baseFolder]           base folder where README.md is located
-d, --docsFolder [docsFolder]           subfolder of the basefolder where documentation is located
-l, --headingLevel [headingLevel]       heading level of the section title within README.md
-h, --help                              output usage information


* Mandatory

Usage

$ summary-more -s 'documentation'
$ summary-more -d 'docs' -s 'Summary'
$ summary-more -b 'manual' -d 'docs' -s 'Summary'
$ summary-more -b 'manual' -d 'docs' -s 'Summary' -l 2

summary-more's People

Contributors

silversonicaxel avatar

Stargazers

JP avatar Melvin Reijnoudt avatar antonio-rodrigues avatar

Watchers

James Cloos avatar  avatar

summary-more's Issues

Ordering files and overview of steps

Hi @silversonicaxel,

Thank you for this awesome package! It made the documentation in our team work like a breeze.

I have an overview.md in a folder called releases. The releases folder also contains other files, but the overview.md should be seen as the first one to open.

I now named the overview.md as _overview.md so it shows up on the top.

Any ideas on how to improve this? No rush, it's a minor issue for us.

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.