Commit Graph

70 Commits (e0337b1d0c8877e899888325cc3818cee600e6dd)

Author SHA1 Message Date
Jeff Grafton 20d221f75c Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
Mike Danese eb8be5a093 fix mungedocs unit tests 2016-12-29 13:04:10 -08:00
Mike Danese 161c391f44 autogenerated 2016-12-29 13:04:10 -08:00
Mike Danese c87de85347 autoupdate BUILD files 2016-12-12 13:30:07 -08:00
saadali 98f4a93477 Update the latestReleaseBranch to release-1.5 in the munger. 2016-11-05 19:56:24 -07:00
Christian Koep cc1d8951a9
Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
Tim Hockin b0fa2056a6 Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
Mike Danese 3b6a067afc autogenerated 2016-10-21 17:32:32 -07:00
David McMahon 385fb81407 Update the latestReleaseBranch to release-1.4 in the munger. 2016-09-01 14:40:55 -07:00
joe2far 88b6d4ad36 Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
Tim Hockin a8d394bfd4 Don't panic if we hit a dangling symlink in mungedocs 2016-07-13 11:50:26 -07:00
Tim St. Clair 656ce4b623 Fix mungedocs TOC generation
Fix TOC links in the presence duplicate headers.
2016-07-07 13:30:55 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
David McMahon 261b6453e4 Update the latestReleaseBranch to release-1.3 in the munger. 2016-06-13 12:24:17 -07:00
Dawn Chen 9ee6809586 Revert "Update the latestReleaseBranch to release-1.3 in the munger."
This reverts commit 3beed6e1aa.
2016-06-10 16:46:11 -07:00
David McMahon 3beed6e1aa Update the latestReleaseBranch to release-1.3 in the munger. 2016-06-10 14:55:46 -07:00
Clayton Coleman 4636af5b87
mungedocs should not assume upstream remote
The standard Git convention is "origin", not "upstream", so make it
flexible in the scripts for those who are set up differently.
2016-04-27 21:33:09 -04:00
David McMahon 37787ffe90 Add --norecurse bool to allow mungedocs to process kube root.
Run hack/after-build/update-generated-docs.sh on kube root with --norecurse and
--skip-munges=unversioned-warning.
2016-03-31 16:53:44 -07:00
Janet Kuo c1596e6711 Update guestbook examples; replace RC concepts with Deployment 2016-03-30 14:16:52 -07:00
k8s-merge-robot 08e9ef0ef9 Merge pull request #22195 from jeffmendoza/wordpress-update
Auto commit by PR queue bot
2016-03-25 14:14:44 -07:00
Jeff Mendoza fb601cd1e2 WordPress example major update.
Rewrite the WordPress example to use deployments, persistent volume
claims, and update the sample flow to the latest guidelines.
2016-03-25 11:40:35 -07:00
David McMahon dae84f5306 Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
Tim St. Clair 198c120036 Detect & fix backwards markdown links (of the form (foo)[bar]) 2016-02-26 13:24:21 -08:00
Eric Tune cf4ad07adc Print line number of failed link conversion. 2016-02-03 13:52:57 -08:00
Eric Tune 1ce3081e55 Do not delete text that fails preformat-balance
If preformat lines are unbalanced, do not delete all the lines from there to
end of file.  That might be the only copy of edits made by the user.

Do not print entire file contents for munge errors affecting entire file.
2016-01-11 10:44:10 -08:00
Mike Danese 1934fc73e8 mungedocs: fix ignored errors in link checker
Before this change the link checker would ignore errors in a file if
the last link in a file was correct. The last link would wipe out the
error variable and set it to nil. Furthermore, it replaced errored
links with the empty string.

If we find an error that we can't correct, append the error message to
an an errs slice and leave the string as is.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-05 12:58:30 -08:00
Chao Xu b728db081b Munger now checks the release branch to verify if a file exist there before
generating a link to it.
2015-12-21 10:40:15 -08:00
Eric Tune 21f81935e2 examples munger allows any file extension. 2015-12-07 14:18:42 -08:00
Matt Liggett 08418a486d Add debugging output to mungedocs when --verbose=true.
Hope to understand why verify-generated-docs is failing on jenkins but
not here.
2015-11-30 13:43:19 -08:00
Tim Hockin 938f80b683 Change 'scary warning' to point to v1.1 2015-11-13 13:49:43 -08:00
Tim Hockin 15e2c62a3e Add a munger check for files that end in preformat 2015-09-25 13:56:50 -07:00
Carsten Clasohm d093fe0c4b add raw flag for GitHub download links 2015-09-07 17:43:09 -07:00
Mike Danese 5caf5e0191 point mugnedocs at new organization 2015-08-12 16:37:43 -07:00
Eric Paris 3c95bd4ee3 Add a whitespace munger
Strips all trailing whitespace from non-preformatted blocks
2015-07-30 20:41:30 -04:00
Eric Paris 8886a9940d Rewrite how the munger works
The basic idea is that in the main mungedocs we run the entirefile and
create an annotated set of lines about that file. All mungers then act
on a struct mungeLines instead of on a bytes array. Making use of the
metadata where appropriete. Helper functions exist to make updating a
'macro block' extremely easy.
2015-07-30 20:41:30 -04:00
Eric Paris 4cbca2e63c Make munger begin/end less generic
Just force the beginMungeTag() endMungeTag() macros on users, by hiding
it under the covers. It really simplies things for users.
2015-07-30 20:41:30 -04:00
Eric Paris 22fd8ac32d Speed up mungedoc TOC by pre-compiling a regex
Brings the time to run the TOC over the docs directory from .7 seconds
to .1 seconds
2015-07-30 20:41:29 -04:00
Ilya Dmitrichenko 5e7a6a8b89 Ignore home directory paths 2015-07-28 22:02:49 +01:00
Janet Kuo 180798cfa4 Use example syncer tags instead of hard-coded examples in doc 2015-07-27 14:48:41 -07:00
Mike Danese 0b14613361 Merge pull request #11622 from nikhiljindal/refactormark-new-version
Extracting out the code to versionize docs from mark-new-version and fixing a bunch of issues
2015-07-24 11:32:40 -07:00
nikhiljindal b0dbb318fe Extract out the versionize docs part in a separate script 2015-07-23 17:56:40 -07:00
Janet Kuo 6778f7f103 Implement mungedocs example syncer 2015-07-20 13:23:19 -07:00
Tim Hockin 8172551763 Fix the munger for code blocks - ticks at start of line 2015-07-18 14:06:08 -07:00
David Oppenheimer d28a6656ae Merge pull request #11452 from thockin/docs-munge-headerlines
Munge headerlines
2015-07-17 15:52:08 -07:00
Tim Hockin aacc4c864c Add a munger for header lines 2015-07-17 15:34:00 -07:00
Tim Hockin 6e4ec38f51 Make TOC munge include blank line before TOC 2015-07-17 15:06:54 -07:00
Daniel Smith 2c046685f6 fix util_test.go 2015-07-17 12:02:35 -07:00
Daniel Smith b563bb3760 fix unversioned test 2015-07-17 11:58:50 -07:00
Daniel Smith 2a112a0004 preformat checker 2015-07-17 11:04:46 -07:00
Tim Hockin 542e13d2d3 Better scary message 2015-07-17 09:28:49 -07:00