Developing a Feathers application I found myself quite often combing through the official Docs. As most parts (authentication, client, socket, rest,...) are in some way or another interconnected it would be great to have a purely technical one-stop destination with a clear definition of what methods are available and what options can be used (or just a suitable reference to the underlying technologies' documentations).
I personally think something pretty straight forward like the Underscore Docs would be suitable and significantly improve the development workflow.
Good idea. A cheat-sheet, maybe as a guide, would be nice.
@beevelop I assume you mean more than just this: http://docs.feathersjs.com/api/readme.html.
Although this is definitely valuable this is actually a pretty big task because there are so many different repos. In this case I would sort of defer to just looking at the code, unless you have some specific examples. I know that auth docs could be improved quite a bit.
I have done a utility that builds a table of contents for the feathers docs. Here's how it looks:
- Introduction
- What is Feathers
- Quick Start
- Your First App
- Why Feathers
- Services
- Providers
- REST
- Realtime
- Databases
- Pagination and sorting
- Pagination
- Sorting, limiting and selecting
- Querying
- Extending adapters
- In Memory
- Getting Started
- Options
- Complete Example
- KnexJS
- Getting Started
- Options
- Complete Example
- localStorage/AsyncStorage
- Getting Started
- Options
- Browser Usage
- Server Usage
- React Native Usage
- Mongoose
- Getting Started
- Options
- Migrating
- Validation
- Modifying results with the toObject hook
- MongoDB
- Getting Started
- Options
- Complete Example
- NeDB
- Getting Started
- Options
- Complete Example
- Sequelize
- Getting Started
- Options
- Validation
- Migrations
- Waterline
- Installation
- Getting Started
- Options
- Complete Example
- LevelUP
- Installation
- Getting Started
- Key Order
- Range Queries
- Complete Example
- RethinkDB
- Getting Started
- Options
- Complete Example
- Hooks
- Getting Started
- Usage
- Before hooks
- After hooks
- As service properties
- Asynchronous hooks
- Chaining / Registering Multiple Hooks
- Communicating with other services
- Customizing Built In Hooks
- Examples
- Setting Timestamps
- Fetching Related Items
- Validation
- Sanitization
- Soft Delete
- Built-in hooks
- populate
- disable
- remove
- removeQuery
- pluck
- pluckQuery
- lowerCase
- Client Use
- Frameworks
- React
- Setting up the HTML page
- Application Bootstrap
- Adding components
- Rendering and authenticating
- React Native
- jQuery
- Setting up the HTML page
- jQuery code
- CanJS
- Angular
- Angular 2
- Using TypeScript
- Using ES5
- Setup
- Creating our first resource
- Using a service in a component
- Wrapping up
- Vue.js
- Setting up the HTML page
- Application Bootstrap
- Initialising our Vue instance
- Adding components
- Further study
- iOS
- Android
- Middleware
- Authentication
- Authorization
- Error Handling
- Logging
- Configuration
- Debugging
- Testing
- Security
- Core API
- Guides
- Migrating to Feathers 2
- Provider modules
- Database adapters
- Feathers client
- Using A View Engine
- A Single "Monolithic" App
- Feathers As A Sub-App
- Feathers As A Separate App
- Uploading files
- Basic upload with feathers-blob and feathers-client
- Feathers-blob with multipart support.
- Creating a plugin
- Verifying our Service
- Expanding our Plugin
- Usage
- Testing
- Help
- FAQ
- How do I debug my app
- Can I expose custom service methods?
- I am getting plain text errors with a 500 status code
- How can I do custom methods like findOrCreate?
- How do I do nested routes?
- How do I do I render templates?
- How do I create channels or rooms
- I got a possible EventEmitter memory leak detected warning
- How do I do validation?
- How do I return related entities?
- What about Koa/Hapi/X?
- How do I filter emitted service events?
- How do I access the request object in hooks or services?
- How do I mount sub apps?
- Contributing
- Contributing Guidelines
- Changelog
- License
It parses gitbook, and builds a table of contents based on the headings and subheadings for each page.
May be we can use something like JSDoc for creating API Docs?
I think it would be convenient if we make the documentation in all official plugins on a single page.
We can create API docs in markdown format with documentation.js or dox.
This will allow us to automatically generate documents for API, and then we can use the usual gitbook.
I personally like how Slate looks for documentation https://github.com/lord/slate
Today I tried this: jsdoc-to-markdown
It's amazing! And very simple!

Add to package.json:
"scripts": {
"docs": "jsdoc2md \"src/**/*.js\" > docs/api.md",
}
And run buld:
npm run docs
For preview docs i uses markserv. It serves Markdown files as GitHub style HTML and LiveReloads your files in the browser as you edit.
cd path/to/docs
markserv
We are going to restructure the documentation for the next release with every page containing a Summary + API, Example and detailed explanations and a big Ecosystem chapter (for discussion see https://github.com/feathersjs/feathers-docs/issues/251#issuecomment-258071621). This will hopefully make finding the API easier while not requiring two documentation sections.
This has been done for Auk and is available at https://docs.feathersjs.com/api/readme.html
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs.
Most helpful comment
This has been done for Auk and is available at https://docs.feathersjs.com/api/readme.html