Commit Graph

547 Commits

Author SHA1 Message Date
Kienan Stewart 131c7ba5be Remove exectuable bit from erb files during package building 2018-12-04 20:27:52 -05:00
Kienan Stewart 56f5aca6c2 Remvoe exec mode from erb templates 2018-12-04 20:13:01 -05:00
Kienan Stewart 32dc6b2dc5 Remove the misc directory from the gemspec
It does not need to be built into deployed packages
2018-12-04 19:50:56 -05:00
Kienan Stewart 786c0dc471 Split description field into short and long descriptions 2018-12-04 19:34:00 -05:00
Kienan Stewart feb5d7df4d Add vcs-git and vcs-browser to debian control file 2018-12-04 18:43:52 -05:00
Kienan Stewart 63869cd7e6 Replace gemspec files from git with a globbed-search
Builds would fail if source didn't include the repository completely
2018-12-04 18:39:21 -05:00
Kienan Stewart 5865564894 Remove superfluous install override and target for original source 2018-12-04 18:38:13 -05:00
Kienan Stewart 57a7199650 Set ITP bug number in changelog 2018-12-04 18:37:52 -05:00
Kienan Stewart 6da4a48249
Update debhelper requirement 2018-12-02 16:58:23 -05:00
Kienan Stewart 6451c8f785
Fix copyright file syntax 2018-12-02 16:58:11 -05:00
Kienan Stewart 52bc897767
Add initial debian packaging files 2018-12-02 16:22:21 -05:00
David Schmitt 9c4c7227d3 Avoid clashes with PSH's build task on release
The (module-)`build` task from puppetlabs_spec_helper is conflicting
with the (gem-)`build` task from bundler.
2018-06-26 17:06:26 +01:00
David Schmitt 07f81f2da1 Release prep for v2.1.0 2018-06-26 08:29:46 +01:00
David Schmitt d4c31eaf86 Add common gem release process docs 2018-06-26 08:29:46 +01:00
David Schmitt 6b5c2dbd45 Update Gemfile and gemspec
This adjusts the Gemfile and gemspec to current packaging
standards.
2018-06-26 08:29:46 +01:00
David Schmitt 3a1dcd75e7 Enable changelog generation 2018-06-26 08:29:46 +01:00
David Schmitt 0b255edd4f
Merge pull request #182 from eputnam/note_and_todo
(PDOC-212, PDOC-213) add support for @note and @todo
2018-06-25 12:30:42 +01:00
willmeek ab62430c68
Merge pull request #184 from DavidS/pdoc-259-relax-ruby-requirements
(PDOC-259) relax ruby requirement to 2.1.0 from 2.1.9
2018-06-20 14:32:20 +01:00
David Schmitt 2dfc8073b3 (PDOC-259) relax ruby requirement to 2.1.0 from 2.1.9
This is required to support some edge-case scenarios with
older puppet versions.
2018-06-20 14:19:13 +01:00
Eric Putnam 5e3bb61adf
fix travis failure 2018-06-10 19:53:58 -07:00
Eric Putnam adbf887246
(PDOC-212, PDOC-213) add support for @note and @todo 2018-06-08 14:59:59 -07:00
Jesse Scott d122b1962b
Merge pull request #181 from eputnam/toc
(PDOC-255) markdown table of contents update
2018-06-05 15:14:59 -07:00
Eric Putnam 03b36bcb9f
(PDOC-255) markdown table of contents update
Markdown output does not currently distinguish between the group headings for the table of contents and group headings in the actual content. This change adds a 'Table of Contents' heading and changes group headings to bold text to make it much more clear that you're looking at the table of contents.
2018-06-03 20:27:05 -07:00
Hunter Haugen abf5c636a0
Merge pull request #180 from eputnam/releaseprep200
(PDOC-220) release prep for 2.0.0
2018-05-11 09:39:55 -07:00
Eric Putnam 65e3848be9
(PDOC-220) release prep for 2.0.0 2018-05-11 08:25:53 -07:00
Eric Putnam ccf3b23af5
Merge pull request #179 from jbondpdx/strings-2-oh
remove duplicated docs from README, refer to docs site
2018-05-11 16:15:46 +01:00
jbondpdx fe893a9c57 remove duplicated docs from README, refer to docs site 2018-05-10 16:44:10 -07:00
Hunter Haugen f41e1bbc30
Merge pull request #178 from eputnam/versionbump
bump required ruby and puppet versions
2018-05-10 16:29:51 -07:00
Jean B 382658404b
Merge pull request #177 from eputnam/update_docs
(maint) update various documentation
2018-05-10 16:14:06 -07:00
Eric Putnam e4b4650eec
bump required ruby and puppet versions 2018-05-10 13:02:09 -07:00
Eric Putnam 8bfcdffbaa
(maint) update various documentation
This updates various docs in the project.
* Get rid of MAINTAINERS
* Update JSON.md with tasks and plans
* Fix some weirndess in the README
* Polish CONTRIBUTING.md
2018-04-25 09:41:52 +01:00
willmeek d4e743dbad
Merge pull request #175 from eputnam/pdoc238
(PDOC-238) add generated message to markdown
2018-04-23 16:33:46 +01:00
willmeek 8ce914ee71
Merge pull request #176 from eputnam/pdoc36
(PDOC-36) fix hack for README urls
2018-04-23 16:33:31 +01:00
Eric Putnam 5d2c4411ca
(PDOC-36) fix hack for README urls
Discovered that this hack was finding broken links and then replacing all instances of the link text in the README. This led to a lot of non-links being affected. This patch works harder to match only actual links and works as far as I can tell.
2018-04-23 16:06:29 +01:00
Eric Putnam 2d59213b34
(PDOC-238) add generated message to markdown
Currently there is no evidence in REFERENCE.md itself that it was generated and should not be edited. This adds a comment in the markdown, so as not to disrupt its rendered appearance but still communicate to the user when editing that the file is generated.
2018-04-20 16:25:40 +01:00
willmeek 2ec1b24051
Merge pull request #174 from eputnam/pdoc240
(PDOC-240) add handling for :array node type in rsapi_handler
2018-04-20 15:17:22 +01:00
Eric Putnam 9a1a0b4af6
(PDOC-240) add handling for :array node type in rsapi_handler
The 'features' key in the resource api expects an array of feature names. Currently, if you run strings on a resource api type that specifies features, it falls over because it doesn't know what to do with an AST node of type :array. Further, the method that throws the error is looking for an undefined variable called 'parameters'. This removes the odd conditional that calls 'parameters' and adds a method that returns an array of the array contents that may be passed to features. Features are not currently sent to the renderer, but now Strings will be able to handle any array it comes across in an rsapi type.
2018-04-20 15:06:58 +01:00
willmeek 09a240dd87
Merge pull request #173 from eputnam/pdoc159
(PDOC-159) server urls fix
2018-04-20 14:24:18 +01:00
Eric Putnam e63f1c3142
(PDOC-159) server urls fix
When using `puppet strings server`, resources with names containing '::' end up 404ing from the left bar. This is because strings namespaces these objects but YARD does not when building URLs.
e.g. foo::bar's url should be /doc/foo/puppet_classes/foo/bar.html but
ends up instead being doc/foo/puppet_classes/foo_3A_3A_bar.html because
of YARD's url encoding. This is a monkey patch, courtesy @domcleal, that
decodes the urls back so that they are namespaced correctly.
2018-04-16 12:22:50 +01:00
Eric Putnam db7ac68870
Merge pull request #172 from jbondpdx/readme-edit-2
Readme edit 2
2018-04-11 18:43:47 +01:00
jbondpdx 625dd18cb8 fixes an ol and adds defined type example 2018-04-11 10:40:23 -07:00
jbondpdx 0b52e521de fixes for new readme edits 2018-04-11 09:15:33 -07:00
jbondpdx 11b9c81c7d Merge branch 'master' of https://github.com/puppetlabs/puppet-strings into readme-edit-2 2018-04-10 16:32:42 -07:00
jbondpdx 24edc85143 second edit on README 2018-04-10 16:32:28 -07:00
Hunter Haugen 99c53d1707
Merge pull request #171 from eputnam/plans_toc
(maint) display Plans in markdown table of contents
2018-04-04 14:55:01 -07:00
Eric Putnam d4ca490d1b
(maint) display Plans in markdown table of contents
Currently, Plans are not being included in the table of contents in the
markdown output. This is because Plans were not being passed to the
table of contents renderer. This adds Plans to the renderer and updates
tests accordingly.
2018-04-03 13:37:47 +01:00
Eric Putnam a4e915002b
Merge pull request #170 from JohnLyman/markdown-compatibility
(PDOC-233) markdown whitespace fixes
2018-04-03 02:22:24 -07:00
John Lyman 6ba0350928 (PDOC-233) Simplify logic for white space formatting of summary
Instead of specifying white space after each conditional, just add a
blank line at the end of the conditional similar to the `function.erb`
template.
2018-03-30 13:02:59 +00:00
John Lyman ca26677cad (PDOC-233) Make markdown white space formatting consistent
Replace arbitrary double blank lines with a single blank lines.
2018-03-30 13:02:59 +00:00
John Lyman d9065e6f2e (PDOC-233) Increase chances of markdown rendering correctly
Some variants of markdown do not convert atx-style headers correctly
unless they are surrounded by blank lines.  This commit adds blank lines
to increase chances of rendering when using those variants while still
maintaining compatibly with variants that do not require the surrounding
blank lines.  Also increases readability when viewing the raw markdown
file.
2018-03-30 13:02:35 +00:00