-
-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update REFERENCE.md, remove docs dir from master #744
Update REFERENCE.md, remove docs dir from master #744
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for removing the generated HTML
51404d0
to
150b974
Compare
@ekohl @bastelfreak Fixed some other issues / typos with the source docs. I can switch it to be a single commit with the changes to source and then the generated docs in another if that's better. |
REFERENCE.md
Outdated
@@ -35,7 +35,7 @@ | |||
|
|||
rabbitmq | |||
|
|||
@param $loopback_users. default defined in param.pp. This option configures a list of users to allow access via the loopback interfaces | |||
@param loopback_users This option configures a list of users to allow access via the loopback interfaces |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it still doesn't recognize it as a parameter. Not sure why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that. Not sure why, but still get the error
[warn]: Missing @param tag for parameter 'loopback_users' near manifests/init.pp:192.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could try adding a line with just a #
after is and before the class definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried that, didn't seem to make a difference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An empty line with no hash seems to work... I think that's right? The diffs are hard to review now.
c3b8cd2
to
a0f11dc
Compare
REFERENCE.md
Outdated
@@ -5,7 +5,7 @@ | |||
|
|||
**Classes** | |||
|
|||
* [`rabbitmq`](#rabbitmq): A module to manage RabbitMQ | |||
* [`rabbitmq`](#rabbitmq): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ekohl not sure why the @summary
disappears now? So maybe that leading # rabbitmq
is necessary?
The examples are all messed up too, will have to spend some more time figuring out what it’s barfing on |
See my changes in ekohl@57b0b17 I've replaced the spaces and then it does pick it up. The reason is that there's a weird unicode character after the
|
Thanks. Do you want me to try and cherry pick that off, or do you want to submit it? |
a0f11dc
to
64ef64e
Compare
Pushed up a version without the formatting changes and without some of the other changes, but happy to close this in favor of your version if you want. |
Feel free to pick it into your branch and improve from there. |
Special thanks to ekohl for additional fixes and formatting. * Fix a misplaced unicode character causing some problems with docs generation. * Update REFERENCE.md, as docs haven't been regenerated for a while. We should either not push the HTML docs, or put them in gh-pages. This is still under discussion.
64ef64e
to
4d8c3dc
Compare
Also created https://tickets.puppetlabs.com/browse/PDOC-271 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to take a look at other classes (management and server) to see how they render, but this is already a big improvement for the module
* `rabbitmq::install`: Ensures that rabbitmq-server exists | ||
* `rabbitmq::install::rabbitmqadmin`: Install rabbitmq admin | ||
* `rabbitmq::params`: OS Specific parameters and other settings | ||
* `rabbitmq::repo::apt`: requires puppetlabs-apt puppetlabs-stdlib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably could use a better summary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird spacing too.
Yes, there are a lot of gaps, and some undocumented params.
I'm trying not to let the perfect be the enemy of the good, but would welcome any help improving the docs.
Also, if we can figure out the correct process for generated docs, and have them auto-generated as part of the release process, that would be ideal.
Pull Request (PR) description
Update REFERENCE.md, as docs haven't been regenerated for a while.
We should either not push the HTML docs, or put them in gh-pages. This is still
under discussion (voxpupuli/modulesync_config#397).
I can also update gh_pages branch via the rake task if you'd like.