Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Feb 4, 2023
1 parent 357a43a commit 7ae2682
Show file tree
Hide file tree
Showing 12 changed files with 1,650 additions and 2,164 deletions.
13 changes: 7 additions & 6 deletions .devcontainer/devcontainer.json → .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "HACS Documentation",
"name": "hacs/doumentation",
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:18",
"context": "..",
"postStartCommand": "make init",
"context": ".",
"postCreateCommand": "scripts/setup",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"editor.defaultFormatter": "esbenp.prettier-vscode",
Expand All @@ -12,9 +12,10 @@
"editor.formatOnSave": false
}
},
"appPort": ["3000:3000"],
"postCreateCommand": "make init",
"forwardPorts": [3000],

"extensions": [
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
3 changes: 0 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@ jobs:
- name: 📦 Checkout the repository
uses: actions/checkout@v2

- name: 📦 Set up Python
uses: actions/setup-python@v2

- name: ✅ Run pre-commit
uses: pre-commit/[email protected]
46 changes: 0 additions & 46 deletions .github/workflows/pages.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 HACS
Copyright (c) 2023 HACS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
23 changes: 0 additions & 23 deletions Makefile

This file was deleted.

8 changes: 4 additions & 4 deletions documentation/developer/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ There are two ways of contributing to the documentation:
- Using the "Edit this page" link at the bottom of every page.
- Locally changing (devcontainer)

_All changes to the documentation should go against the `master` branch._
_All changes to the documentation should go against the `main` branch._
The repository for the documentation is hosted @ https://github.com/hacs/documentation

### Edit this page
Expand All @@ -31,7 +31,7 @@ First spin up the [devcontainer](/docs/developer/devcontainer)
When you have that running issue the following commands:

```bash
yarn start
scripts/develop
```

You have now started a local webserver that hosts the documentation on http://localhost:3000
Expand Down Expand Up @@ -85,8 +85,8 @@ Then you need to use:

## New pages

1. Create a new `.md` file under `documentation/content/` in a sub-directory that fits the purpose of the file.
1. Add a reference to that file in `documentation/sidebars.js`
1. Create a new `.md` file under `documentation/` in a sub-directory that fits the purpose of the file.
1. Add a reference to that file in `sidebars.js`

At the top of all pages you should have this:

Expand Down
5 changes: 0 additions & 5 deletions script/build

This file was deleted.

184 changes: 0 additions & 184 deletions script/generate_default_repositories.py

This file was deleted.

3 changes: 3 additions & 0 deletions scripts/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

yarn run build
3 changes: 3 additions & 0 deletions scripts/develop
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

yarn run start
3 changes: 3 additions & 0 deletions scripts/setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

yarn install
Loading

0 comments on commit 7ae2682

Please sign in to comment.