# Announcing www.chefdoc.info - A service for serving cookbook documentation

**URL:** <https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932>\
**Category:** Chef Infra (archive)\
**Created:** [November 27, 2016, 11:48am UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932 "2016-11-27T11:48:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![joerg.herzinger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joerg.herzinger/32/1514_2.png) [@joerg.herzinger](https://discourse.chef.io/u/joerg.herzinger)\
**Post date:** [November 27, 2016, 11:48am UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/1 "2016-11-27T11:48:37Z")

</div>

TL;DR: Announcing [http://www.chefdoc.info](http://www.chefdoc.info), a chef cookbook documentation service modeled after the infamous [rubydoc.info](http://rubydoc.info).

I thought chef cookbooks need a better documentation style than “write a README”, so I created the basis for one. I took yard-chef and [rubydoc.info](http://rubydoc.info) and after some hassle [http://www.chefdoc.info](http://www.chefdoc.info) was born. This is an early release, so don’t expect too much, but still, I hope you like it. And of course, it’s open source: [https://github.com/chefdoc](https://github.com/chefdoc). The production service is running in a Docker container which is available at [https://hub.docker.com/u/chefdoc/](https://hub.docker.com/u/chefdoc/).

The most important aspect behind all this for me was to start with a very limited, and basic functionality and create documentation guidelines with the community. So apart from code contributions I also need input if a project like this makes sense at all and how it should progress.

Planned features:

- Support for private supermarkets and chef servers, so you can deploy chefdoc in your own infrastructure and have it document your cookbooks.
- Support for Definitions, LWRPs and custom resources.
- Cross linking within a cookbook, eg. link node attributes to where they are defined.
- Showing a dependency graph in some way.
- Display available metadata.
- Add cookbooks file and templates to docs and crosslink them inside the recipe source.
- If you have CSS/HTML/JavaScript skills and want to contribute to make chefdoc look nicer I would be very glad. 😉

Notes about the service:

- I am currently hosting on [sloppy.io](http://sloppy.io), but they don’t offer sharing volumes between Docker containers which means I can not cache anything. So I will move to some other hosting service (probably Linode) in the future which should offer a major performance boost.
- Some cookbooks seem to not work at all. If you find one, please add it to the issue tracker: [https://github.com/chefdoc/chefdoc.info/issues/1](https://github.com/chefdoc/chefdoc.info/issues/1)

Any kind of feedback, especially in form of pull requests is welcome.

---

<div class="post-metadata">

**Author:** ![szymon.szypulski](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@szymon.szypulski](https://discourse.chef.io/u/szymon.szypulski)\
**Post date:** [November 29, 2016, 11:52am UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/2 "2016-11-29T11:52:01Z")

</div>

Looks good. I would really like to see it in my private network. Sometimes browsing through cookbooks is so tedious.

---

<div class="post-metadata">

**Author:** ![sme](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/sme/32/271_2.png) [@sme](https://discourse.chef.io/u/sme)\
**Post date:** [December 1, 2016, 7:06pm UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/3 "2016-12-01T19:06:32Z")

</div>

Looks promising, thanks for sharing this with the community. Support for running on internal infrastructure for cases where cookbooks can’t be publicly released would be nice to see.

---

<div class="post-metadata">

**Author:** ![joerg.herzinger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joerg.herzinger/32/1514_2.png) [@joerg.herzinger](https://discourse.chef.io/u/joerg.herzinger)\
**Post date:** [December 1, 2016, 8:14pm UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/4 "2016-12-01T20:14:49Z")

</div>

> [@sme](#):
>
> Looks promising, thanks for sharing this with the community. Support for running on internal infrastructure for cases where cookbooks can't be publicly released would be nice to see.

Supporting private infrastructure is definitely on my roadmap. If you want to look at some code [1] it would actually be quite simple to support additional endpoints. What would be your use case? What do you use, a Private Supermaket, Chef Server or something else?

[1] [https://github.com/chefdoc/chefdoc.info/blob/master/lib/extensions.rb#L44](https://github.com/chefdoc/chefdoc.info/blob/master/lib/extensions.rb#L44)

---

<div class="post-metadata">

**Author:** ![sme](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/sme/32/271_2.png) [@sme](https://discourse.chef.io/u/sme)\
**Post date:** [December 5, 2016, 3:29pm UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/5 "2016-12-05T15:29:46Z")

</div>

We don’t use a private supermarket, just a git repo per cookbook and the internal chef server.

---

<div class="post-metadata">

**Author:** ![joerg.herzinger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joerg.herzinger/32/1514_2.png) [@joerg.herzinger](https://discourse.chef.io/u/joerg.herzinger)\
**Post date:** [December 5, 2016, 3:35pm UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/6 "2016-12-05T15:35:47Z")

</div>

Well, some kind of git integration might come in the future but that definitely is not very high on my list. Integration with any chef server v 2.6 (this version includes the universe berks endpoint) or higher will probably come within the next few weeks.  
Of course I would also be very happy about a pull request with this feature. 😉 If you got some time I can point you to the steps required.

---

<div class="post-metadata">

**Author:** ![joerg.herzinger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joerg.herzinger/32/1514_2.png) [@joerg.herzinger](https://discourse.chef.io/u/joerg.herzinger)\
**Post date:** [December 11, 2016, 5:06pm UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/7 "2016-12-11T17:06:47Z")

</div>

@sme Using a chef\_server as cookbook backend is now supported, als long as the chef server version is at least 12.4. You can find some getting started docs at [https://github.com/chefdoc/chefdoc.info/wiki/Getting-started](https://github.com/chefdoc/chefdoc.info/wiki/Getting-started)

---

<div class="post-metadata">

**Author:** ![sme](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/sme/32/271_2.png) [@sme](https://discourse.chef.io/u/sme)\
**Post date:** [December 13, 2016, 10:43pm UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/8 "2016-12-13T22:43:26Z")

</div>

Nice work, will give this a look internally. Thanks again for providing the resource to the community!

---

<div class="post-metadata">

**Author:** ![Tensibai](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tensibai/32/29_2.png) [@Tensibai](https://discourse.chef.io/u/Tensibai)\
**Post date:** [December 14, 2016, 7:52pm UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/9 "2016-12-14T19:52:01Z")

</div>

@joerg.herzinger Useless post for the thread, but thanks a lot for the efforts, I did initiate this path with yard internally a year ago, but without a central acces it did die a few weeks later.

So thanks for the hard work, I’ll try to free some time for a git\* integration in the next weeks.

---

<div class="post-metadata">

**Author:** ![aleksey\_hariton](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/aleksey_hariton/32/1711_2.png) [@aleksey\_hariton](https://discourse.chef.io/u/aleksey_hariton)\
**Post date:** [December 28, 2016, 12:22pm UTC](https://discourse.chef.io/t/announcing-www-chefdoc-info-a-service-for-serving-cookbook-documentation/9932/10 "2016-12-28T12:22:15Z")

</div>

My version was not so fancy 🙂

> **[aleksey-hariton/yard-chef](https://github.com/aleksey-hariton/yard-chef)**
>
> Contribute to yard-chef development by creating an account on GitHub.

Hope will find some time to merge some my features to yours 🙂
