Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JonGretar/ExDocDash
Dash.app formatter for ex_doc.
https://github.com/JonGretar/ExDocDash
Last synced: 8 days ago
JSON representation
Dash.app formatter for ex_doc.
- Host: GitHub
- URL: https://github.com/JonGretar/ExDocDash
- Owner: JonGretar
- License: mit
- Created: 2014-12-29T16:29:43.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T13:11:25.000Z (about 3 years ago)
- Last Synced: 2024-08-02T02:11:40.988Z (3 months ago)
- Language: CSS
- Homepage: https://hex.pm/packages/ex_doc_dash
- Size: 278 KB
- Stars: 65
- Watchers: 6
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - CSS - Formatter for ExDoc to generate docset documentation for use in Dash.app. (Documentation)
- fucking-awesome-elixir - ex_doc_dash - Formatter for ExDoc to generate docset documentation for use in Dash.app. (Documentation)
- awesome-elixir - ex_doc_dash - Formatter for ExDoc to generate docset documentation for use in Dash.app. (Documentation)
README
# ExDocDash
Creates API documentation for Elxir projects in the [Docsets format](http://kapeli.com/docsets) for use in Dash.app for [MacOS X](http://kapeli.com/dash) or [iOS](http://kapeli.com/dash_ios). This is the first draft so problems may occur.
Template Design is generated by slashing away at [TripIt's Slate](https://github.com/tripit/slate) template.
## Installation & Usage
*Please note that you will need to have the `sqlite3` binary installed.*
### As a dependency for your project
Open up your `mix.exs` and add the following to your deps.
{:ex_doc_dash, "~> 0.2.0", only: :docs}
Build your dependencies
MIX_ENV=docs mix do deps.get, deps.compile
Now you can build your Dash.app documentation using the `docs.dash` task and it will be save in `./docs`.
MIX_ENV=docs mix docs.dash
### As a global archive
Check out ExDocDash and install as a global dependency
git clone https://github.com/JonGretar/ExDocDash.git
cd ExDocDash
mix do deps.get, archive.build, archive.installNow you should have the `docs.dash` mix task available in all projects.
**Note that these projects will have to have `ex_doc` and `earmark` as it's dependency as it's not globally installed.**
## Example of generating [Phoenix](https://github.com/phoenixframework/phoenix) Documentation
![ExDocDash Phoenix docs](https://us-east.manta.joyent.com/JonGretar/public/ExDocDash-Phoenix-1.gif)
## Contributing
All contributions are appreciated. Info on the Docset format can be found in the following links.
* http://kapeli.com/docsets
* http://kapeli.com/dash_guide
* https://github.com/Kapeli/Dash-User-Contributions