Skip to content

Commit fdb0543

Browse files
authored
chore: remove online demo (#269)
* 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
1 parent e2f9312 commit fdb0543

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+14
-7823
lines changed

.github/workflows/CI-CD.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626

2727
steps:
2828
- name: Checkout source
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Install Node ${{ matrix.node }}
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
3333
with:
3434
node-version: ${{ matrix.node }}
3535
cache: "npm"

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,29 +112,25 @@ Contributing
112112
--------------------------
113113
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).
114114

115-
#### Building/Testing
116-
To build/test the project locally on your computer:
115+
To test the project locally on your computer:
117116

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

121120
2. __Install dependencies__<br>
122121
`npm install`
123122

124-
3. __Run the build script__<br>
125-
`npm run build`
126-
127-
4. __Run the tests__<br>
123+
3. __Run the tests__<br>
128124
`npm test`
129125

130-
5. __Check the code coverage__<br>
126+
4. __Check the code coverage__<br>
131127
`npm run coverage`
132128

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

137-
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.
133+
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.
138134

139135

140136

_includes/stylesheets.html

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
{% if page.url == "/online/" %}
2-
{% comment %} Use custom stylesheets for the "Online Demo" page instead of the normal stylesheets {% endcomment %}
3-
4-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
5-
<link rel="stylesheet" href="css/style.min.css">
6-
7-
{% else %}
8-
{% comment %} Use the normal stylesheets for all other pages {% endcomment %}
9-
10-
<!-- {{ page.url }} -->
11-
<link rel="stylesheet" href="/css/style.css?v=3" media="screen" type="text/css">
12-
<link rel="stylesheet" href="/css/print.css" media="print" type="text/css">
13-
14-
{% endif %}
1+
<!-- {{ page.url }} -->
2+
<link rel="stylesheet" href="/css/style.css?v=3" media="screen" type="text/css">
3+
<link rel="stylesheet" href="/css/print.css" media="print" type="text/css">

build-website.mjs

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)