Skip to content

Commit

Permalink
doc2md
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Nov 25, 2021
1 parent e94e1dd commit 2dcc084
Show file tree
Hide file tree
Showing 35 changed files with 1,289 additions and 1,290 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: my-docker-hub-namespace/my-docker-hub-repository
images: scrasnups/build

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea
node_modules/
8 changes: 0 additions & 8 deletions .htaccess

This file was deleted.

Empty file removed .nojekyll
Empty file.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:17-alpine

COPY src/*.js /usr/src/app/

WORKDIR /usr/src/app

USER node
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ Generate Markdown from your Javadoc, PHPDoc or JSDoc comments

## Usage

* Use the [online version](https://delight-im.github.io/Javadoc-to-Markdown/) of this project
* Call methods from [`javadoc-to-markdown.js`](_js/javadoc-to-markdown.js) directly from code
```bash
docker run scrasnups/build:groovydoc-to-markdown:latest \
-v "$(pwd)":/tmp
node doc2md.js /tmp/src /tmp/doc
```

## Contributing

Expand Down
5 changes: 0 additions & 5 deletions _css/bootstrap-theme.min.css

This file was deleted.

5 changes: 0 additions & 5 deletions _css/bootstrap.min.css

This file was deleted.

83 changes: 0 additions & 83 deletions _css/custom.css

This file was deleted.

6 changes: 0 additions & 6 deletions _js/bootstrap.min.js

This file was deleted.

109 changes: 0 additions & 109 deletions _js/custom.js

This file was deleted.

4 changes: 0 additions & 4 deletions _js/html5shiv.min.js

This file was deleted.

22 changes: 0 additions & 22 deletions _js/ie10-viewport-bug-workaround.js

This file was deleted.

Loading

0 comments on commit 2dcc084

Please sign in to comment.