Skip to content

Commit 1459dad

Browse files
author
Alexia Michelle
committed
rebuild
1 parent 85f9681 commit 1459dad

97 files changed

Lines changed: 19606 additions & 2860 deletions

File tree

Some content is hidden

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

.github/workflows/deploy.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
# Reviewgh-pages deployment workflow is correct.
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
deploy:
14+
name: Deploy to GitHub Pages
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
cache: npm
24+
- name: Install dependencies
25+
run: npm ci
26+
- name: Build website
27+
run: npm run build
28+
- name: Deploy to GitHub Pages
29+
uses: peaceiris/actions-gh-pages@v4
30+
with:
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
32+
publish_dir: ./build

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*

404.html

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

Gemfile

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

Gemfile.lock

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

LICENSE.txt

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

README.md

Lines changed: 23 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,41 @@
1-
# goldendog
2-
3-
Welcome to the GoldenDog Linux Jekyll Layout.
4-
This is a layout I built for the [GoldenDog Linux Official Homepage](https://www.goldendoglinux.org)
5-
6-
If you find it useful and would like to deploy this layout on your github pages account, the easiest thing to do would be to just fork this project and do all the changes that you like.
7-
8-
This layout is MIT licensed. You don't even need to credit myself (Alexia) or GoldenDog, but it is always nice if you do :3
9-
10-
Also, It would make me really happy to know if you are running this somewhere. It's the first time I try to build a complete Jekyll Theme.
1+
# Website
112

3+
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
124

135
## Installation
146

15-
Add this line to your Jekyll site's `Gemfile`:
16-
17-
```ruby
18-
gem "goldendog"
7+
```bash
8+
yarn
199
```
2010

21-
And add this line to your Jekyll site's `_config.yml`:
11+
## Local Development
2212

23-
```yaml
24-
theme: goldendog
13+
```bash
14+
yarn start
2515
```
2616

27-
And then execute:
28-
29-
$ bundle
17+
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
3018

31-
Or install it yourself as:
19+
## Build
3220

33-
$ gem install goldendog
34-
35-
## Usage
36-
37-
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
38-
39-
## Contributing
21+
```bash
22+
yarn build
23+
```
4024

41-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/goldendog. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
25+
This command generates static content into the `build` directory and can be served using any static contents hosting service.
4226

43-
## Development
27+
## Deployment
4428

45-
To set up your environment to develop this theme, run `bundle install`.
29+
Using SSH:
4630

47-
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
31+
```bash
32+
USE_SSH=true yarn deploy
33+
```
4834

49-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
50-
To add a custom directory to your theme-gem, please edit the regexp in `goldendog.gemspec` accordingly.
35+
Not using SSH:
5136

52-
## License
37+
```bash
38+
GIT_USER=<Your GitHub username> yarn deploy
39+
```
5340

54-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41+
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

_config.yml

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

_includes/cloudflare_analytics.html

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

_includes/commentbox.html

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

0 commit comments

Comments
 (0)