Skip to content

Commit 2dcc084

Browse files
committed
doc2md
1 parent e94e1dd commit 2dcc084

35 files changed

+1289
-1290
lines changed

.github/workflows/docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: meta
2424
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
2525
with:
26-
images: my-docker-hub-namespace/my-docker-hub-repository
26+
images: scrasnups/build
2727

2828
- name: Build and push Docker image
2929
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc

.github/workflows/npm.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Node.js Package
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
# Setup .npmrc file to publish to npm
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: '12.x'
14+
registry-url: 'https://registry.npmjs.org'
15+
- run: npm install
16+
- run: npm publish
17+
env:
18+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.idea
2+
node_modules/

.htaccess

-8
This file was deleted.

.nojekyll

Whitespace-only changes.

Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM node:17-alpine
2+
3+
COPY src/*.js /usr/src/app/
4+
5+
WORKDIR /usr/src/app
6+
7+
USER node

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ Generate Markdown from your Javadoc, PHPDoc or JSDoc comments
44

55
## Usage
66

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

1013
## Contributing
1114

_css/bootstrap-theme.min.css

-5
This file was deleted.

_css/bootstrap.min.css

-5
This file was deleted.

_css/custom.css

-83
This file was deleted.

_js/bootstrap.min.js

-6
This file was deleted.

_js/custom.js

-109
This file was deleted.

_js/html5shiv.min.js

-4
This file was deleted.

_js/ie10-viewport-bug-workaround.js

-22
This file was deleted.

0 commit comments

Comments
 (0)