summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-03-07 13:32:43 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-03-07 13:32:43 +0100
commit89e4858c2bfe6a528261ba0968e40ffe2360f976 (patch)
tree78657203011a5b6f6e4a4347286d6b39e40fc156 /Rakefile
parent76631beb2eead2e6fca10b0b53b1c94338feb8e1 (diff)
Readme: Exclude irrelevant parts from readme for npm
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 5866d51..84dcba2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -28,7 +28,7 @@ task :readme2md do
require 'pandoc-ruby'
docbook = Asciidoctor
- .load_file('README.adoc', header_footer: true, backend: 'docbook')
+ .load_file('README.adoc', header_footer: true, backend: 'docbook', attributes: 'npm-readme')
.convert
markdown = PandocRuby
.convert(docbook, from: :docbook, to: :markdown_github, 'base-header-level': 2)