Skip to content

Commit c794621

Browse files
committed
Switch to using AsciiDoc instead of markdown + generate PDF
1 parent c44f18d commit c794621

File tree

5 files changed

+980
-1165
lines changed

5 files changed

+980
-1165
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77

88
.bazelrc.user
99
user.bazelrc
10-
.readme.adoc

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,12 @@ update-changelog: ## Auto-generate the doc/CHANGELOG (requires GITHUB_TOKEN en
3333
@bash -c "$(BASHMATIC_HOME)/bin/regen-changelog"
3434

3535
update-readme: ## Generate the PDF version of the README
36-
@printf "\n$(bold) 👉 $(red)$(clear) $(green)Converting README.md into the ASCIIDOC...$(clear)\n"
37-
@bash -c "command -v kramdoc || gem install kramdoc; kramdoc README.md"
3836
@rm -fv README.pdf
3937
@printf "\n$(bold) 👉 $(red)$(clear) $(green)Converting ASCIIDOC into the PDF...$(clear)\n"
40-
@mv README.adoc .readme.adoc
41-
@cat .readme .readme.adoc | sed -E "s/source,bazel/source,python/g; s/%VERSION%/$(RULES_VERSION)/g" > README.adoc
4238
@$(BASHMATIC_HOME)/bin/adoc2pdf README.adoc
4339
@git add README.pdf
4440
@open README.pdf
4541

46-
4742
tag: ## Tag this commit with .rules_version and push to remote
4843
@git tag "v$(RULES_VERSION)" -f
4944
@git push --tags -f

0 commit comments

Comments
 (0)