Skip to content

Commit

Permalink
Rename from antsibull_docs to antsibull-docs. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored Mar 13, 2023
1 parent cba8f00 commit c4c1d6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ This is a TypeScript library for processing Ansible documentation markup. It is

## How to use this

The package is available on [npm](https://www.npmjs.com/package/antsibull-docs).

### Node.js (CommonJS modules)

```js
const { parse, toHTML } = require('antsibull_docs');
const { parse, toHTML } = require('antsibull-docs');

function convert() {
return toHTML(parse(['First paragraph.', 'Second B(paragraph).']));
Expand All @@ -27,7 +29,7 @@ function convert() {
### Webpack (EcmaScript modules)

```ts
import { parse, toHTML } from 'antsibull_docs';
import { parse, toHTML } from 'antsibull-docs';

function convert(): string {
return toHTML(parse(['First paragraph.', 'Second B(paragraph).']));
Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/rename.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
breaking_changes:
- "The package was renamed on npmjs.com from ``antsibull_docs`` to ``antsibull-docs`` (https://github.com/ansible-community/antsibull-docs-ts/pull/15)."
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "antsibull_docs",
"name": "antsibull-docs",
"version": "0.1.0",
"description": "TypeScript library for processing Ansible documentation markup",
"main": "dist/cjs/index.js",
Expand Down

0 comments on commit c4c1d6a

Please sign in to comment.