Skip to content

Commit

Permalink
chore: remove online demo (#269)
Browse files Browse the repository at this point in the history
* chore: remove online demo

it doesnst work and this tool is deprecated and minimally maintained.

* rollback accidentally package change

* put homepage back

* no more build or lint as thats only demo

* lint non online demo
  • Loading branch information
philsturgeon authored Feb 11, 2025
1 parent e2f9312 commit fdb0543
Showing 42 changed files with 14 additions and 7,823 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-CD.yaml
Original file line number Diff line number Diff line change
@@ -26,10 +26,10 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -112,29 +112,25 @@ Contributing
--------------------------
I welcome any contributions, enhancements, and bug-fixes. [Open an issue](https://github.com/APIDevTools/swagger-parser/issues) on GitHub and [submit a pull request](https://github.com/APIDevTools/swagger-parser/pulls).

#### Building/Testing
To build/test the project locally on your computer:
To test the project locally on your computer:

1. __Clone this repo__<br>
`git clone https://github.com/APIDevTools/swagger-parser.git`

2. __Install dependencies__<br>
`npm install`

3. __Run the build script__<br>
`npm run build`

4. __Run the tests__<br>
3. __Run the tests__<br>
`npm test`

5. __Check the code coverage__<br>
4. __Check the code coverage__<br>
`npm run coverage`

License
--------------------------
Swagger Parser is 100% free and open-source, under the [MIT license](LICENSE). Use it however you want.

This package is [Treeware](http://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/APIDevTools/swagger-parser) to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
This package is [Treeware](http://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://shop.protect.earth) to thank us for our work.



17 changes: 3 additions & 14 deletions _includes/stylesheets.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
{% if page.url == "/online/" %}
{% comment %} Use custom stylesheets for the "Online Demo" page instead of the normal stylesheets {% endcomment %}

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.min.css">

{% else %}
{% comment %} Use the normal stylesheets for all other pages {% endcomment %}

<!-- {{ page.url }} -->
<link rel="stylesheet" href="/css/style.css?v=3" media="screen" type="text/css">
<link rel="stylesheet" href="/css/print.css" media="print" type="text/css">

{% endif %}
<!-- {{ page.url }} -->
<link rel="stylesheet" href="/css/style.css?v=3" media="screen" type="text/css">
<link rel="stylesheet" href="/css/print.css" media="print" type="text/css">
16 changes: 0 additions & 16 deletions build-website.mjs

This file was deleted.

Loading

0 comments on commit fdb0543

Please sign in to comment.