Coder Social home page Coder Social logo

vue-simple-docs's People

Contributors

willo0ow avatar

Watchers

 avatar

vue-simple-docs's Issues

Display component list as a tree-like list

requires #4
In the main page we display a list of documented components.
Let's display it as a tree-like map to mirror the source directory structure.
The source data will be stored in docs/src/generated/index.ts

Add search

Add search in the nav bar to find files.
in App.vue
const searchItems = files.children.reduce((links, child) => {}, [{ name, routeObject }]);

allow multiple source directories

For now, the script assumes that sourceDir in docs.config is just one directory.
Allow to provide several directories in array.
Adjust function that generates data objects to work when several directories are provided.

Generate file structure of the documented files

E.g.
source dir is 'components' folder, inside there is another folder 'web' and Component2. Inside web folder there is Component1.
We create in docs/generated/index.ts a list of documented files.
Let's create a list that will mirror the source directory files structure.
Now in index.ts:
const components = [{name: 'Component1'}, {name: 'Component2'}]
Expected:
const components = [{name: 'web', type: 'folder', children: [{name: 'Component1', type: 'file'}]}, {name: 'Component2', type: 'file'}]

Setup production builds

There is a script that creates esm and cjs builds.
The esm is not working properly.
I'm not sure how it should be done that when a developer installs the package, the right build (esm/cjs) will be used.

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.