Skip to content

Commit

Permalink
Merge pull request #16 from yast/yard_markdown
Browse files Browse the repository at this point in the history
autodocs - use markdown format in ruby documentation comments
  • Loading branch information
lslezak committed Jul 22, 2013
2 parents 333c1b5 + 28cd58c commit afb7668
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.24.3
2.24.4
4 changes: 3 additions & 1 deletion devtools/admin/aminclude/autodocs-ycp.ami
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ AUTODOCS_STRIP ?= $(srcdir)/../../src

# yard specific options
YARD ?= yard
# use markdown format by default
YARD_OPTIONS ?= -o . -m markdown

# yard specific clean
clean-local:
Expand All @@ -42,4 +44,4 @@ index.html: $(AUTODOCS_YCP) $(AUTODOCS_PM) $(AUTODOCS_RB)
pod2html --title=$$b --infile=$$i --outfile=$$b.html; \
echo "<a href='$$b.html'>$${b/__/::}</a>" > $$b.mod.html; \
done
if [ -n "$(AUTODOCS_RB)" ]; then $(YARD) doc -o . $(AUTODOCS_RB); fi
if [ -n "$(AUTODOCS_RB)" ]; then $(YARD) doc $(YARD_OPTIONS) $(AUTODOCS_RB); fi
7 changes: 7 additions & 0 deletions package/yast2-devtools.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 22 13:56:47 UTC 2013 - lslezak@suse.cz

- autodocs - use markdown format in ruby documentation comments,
added YARD_OPTIONS to allow overriding the defaults
- 2.24.4

-------------------------------------------------------------------
Thu Jul 18 11:14:32 UTC 2013 - mvidner@suse.com

Expand Down

0 comments on commit afb7668

Please sign in to comment.