Skip to content

Commit

Permalink
Add README for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Mar 19, 2024
1 parent 9d92ff2 commit 99ad047
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"format": "node npm/format.js packages/${npm_config_package},npm",
"lint": "eslint \"{docs,npm}/**/*.js\" \"packages/${npm_config_package:-*}/{lib,test}/**/*.js\"",
"test": "_mocha",
"version": "node npm/version.js",
"postpublish": "downdoc --postpublish",
"prepublishOnly": "downdoc --prepublish"
"version": "node npm/version.js"
},
"engines": {
"node": ">=16.0.0"
Expand Down
10 changes: 10 additions & 0 deletions packages/antora-xref-extension/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
= Antora Xref Extension

The Antora Xref Extension augments Antora's support for xref macros with the following features:

* Validate that the target file contains an anchor that matches the fragment.
* Use default link text from the title or `reftext` of the target.
* Stub links that don't yet exist
* Produce warnings if link text is unnecessary
See https://github.com/spring-io/antora-xref-extension/ for more details and usage instructions.
4 changes: 4 additions & 0 deletions packages/antora-xref-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"bugs": {
"url": "https://github.com/spring-io/antora-xref-extension/issues"
},
"scripts": {
"postpublish": "downdoc --postpublish",
"prepublishOnly": "downdoc --prepublish"
},
"main": "lib/index.js",
"exports": {
".": "./lib/index.js"
Expand Down

0 comments on commit 99ad047

Please sign in to comment.