Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migrate off vuepress to vitepress #4515

Merged
merged 43 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0a97d85
move public files from vuepress into vitepress
chenrui333 May 7, 2024
5a6416c
migrate vuepress index.scss to custom.css
chenrui333 May 7, 2024
7b0b54a
migrate from vuepress to vitepress
chenrui333 May 8, 2024
f07045a
first pass on the migration
chenrui333 May 8, 2024
4e8a996
revert dev/build command alias for now
chenrui333 May 8, 2024
41f8ee9
Merge branch 'main' of github.com:runatlantis/atlantis into migrate-o…
chenrui333 May 8, 2024
852b483
update lockfile
chenrui333 May 8, 2024
e2d4520
drop vuepress files
chenrui333 May 8, 2024
f74c648
fix homepage
chenrui333 May 8, 2024
caa5789
add vite config
chenrui333 May 8, 2024
e47aacf
update site config
chenrui333 May 9, 2024
872d0ab
wip
chenrui333 May 9, 2024
12edb8d
Merge branch 'main' of github.com:runatlantis/atlantis into migrate-o…
chenrui333 May 9, 2024
a9a1420
add contributing routing changes
chenrui333 May 9, 2024
3ba2ac2
Merge branch 'main' of github.com:runatlantis/atlantis into migrate-o…
chenrui333 May 10, 2024
deb5cd8
updates for contributing sidebar
chenrui333 May 10, 2024
0d31f43
fix navbar for Contributing
chenrui333 May 10, 2024
4b9b650
use cleanUrls
chenrui333 May 10, 2024
c441e24
add ga support
chenrui333 May 10, 2024
9481d66
add sitemap support
chenrui333 May 10, 2024
fb37a96
switch to use `algolia` for search
chenrui333 May 10, 2024
8563223
bring sass styles back (move them into theme folder) and install sass
chenrui333 May 10, 2024
72f3d01
move public folder to projectRoot (runatlantis.io)
chenrui333 May 10, 2024
d6f50ea
move home vue component to index.md
chenrui333 May 10, 2024
487a055
build: fix link refs
chenrui333 May 10, 2024
6257436
update netlify config per migration
chenrui333 May 10, 2024
d46c41c
Merge branch 'main' of github.com:runatlantis/atlantis into migrate-o…
chenrui333 May 13, 2024
263d4fb
revamp homepage
chenrui333 May 13, 2024
9dc992a
re-order the links
chenrui333 May 13, 2024
023574f
add `--host localhost` back
chenrui333 May 13, 2024
4237abc
remove getVersion flow
chenrui333 May 13, 2024
78ae0dd
update links per file layout change
chenrui333 May 13, 2024
b26d539
update wording
chenrui333 May 13, 2024
4a72bb3
use esm syntax for `site-check.spec.js`
chenrui333 May 13, 2024
3a8645a
Merge branch 'main' of github.com:runatlantis/atlantis into migrate-o…
chenrui333 May 14, 2024
08774ca
update playwright config and gitignore
chenrui333 May 14, 2024
b7937d7
specify port 8080 for muffet test
chenrui333 May 14, 2024
d1a3bd6
remove svg files used in home.vue
chenrui333 May 14, 2024
6dce249
remove png files used in home.vue
chenrui333 May 14, 2024
d28d2f3
final update for vuepress refs
chenrui333 May 14, 2024
b5a471a
Merge branch 'main' of github.com:runatlantis/atlantis into migrate-o…
chenrui333 May 14, 2024
c27d606
update socials
chenrui333 May 14, 2024
8e85688
turn off cleanUrls for now (http-server has some issue)
chenrui333 May 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ provider/gitlab:

website:
- changed-files:
- any-glob-to-any-file: 'runatlantis.io/.vuepress/**/*'
- any-glob-to-any-file: 'runatlantis.io/.vitepress/**/*'
- any-glob-to-any-file: 'package.json'
- any-glob-to-any-file: 'pnpm-lock.yaml'
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
pnpm website:build

# start http-server for integration testing
npx http-server runatlantis.io/.vuepress/dist &
npx http-server runatlantis.io/.vitepress/dist &

- name: Run Playwright E2E tests
run: |
Expand Down
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ tmp-CHANGELOG.md
# draw.io backup files
*.bkp

# vuepress
**/.vuepress/*
!runatlantis.io/.vuepress/config.*
!runatlantis.io/.vuepress/navbar.*
!runatlantis.io/.vuepress/sidebar.*
# VitePress build output & cache directory
**/.vitepress/cache
**/.vitepress/dist
**/.vitepress/config.ts.timestamp-*

# playwright
test-results/
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm 8.15.8
pnpm 9.1.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Atlantis <!-- omit in toc -->

[![Latest Release](https://img.shields.io/github/release/runatlantis/atlantis.svg)](https://github.com/runatlantis/atlantis/releases/latest)
[![SuperDopeBadge](./runatlantis.io/.vuepress/public/hightower-super-dope.svg)](https://twitter.com/kelseyhightower/status/893260922222813184)
[![SuperDopeBadge](./runatlantis.io/.vitepress/public/hightower-super-dope.svg)](https://twitter.com/kelseyhightower/status/893260922222813184)
[![Go Report Card](https://goreportcard.com/badge/github.com/runatlantis/atlantis)](https://goreportcard.com/report/github.com/runatlantis/atlantis)
[![Go Reference](https://pkg.go.dev/badge/github.com/runatlantis/atlantis.svg)](https://pkg.go.dev/github.com/runatlantis/atlantis)
[![codecov](https://codecov.io/gh/runatlantis/atlantis/branch/main/graph/badge.svg)](https://codecov.io/gh/runatlantis/atlantis)
[![CircleCI](https://circleci.com/gh/runatlantis/atlantis/tree/main.svg?style=shield)](https://circleci.com/gh/runatlantis/atlantis/tree/main)
[![Slack](https://img.shields.io/badge/Join-Atlantis%20Community%20Slack-red)](https://join.slack.com/t/atlantis-community/shared_invite/zt-9xlxtxtc-CUSKB1ATt_sQy6um~LDPNw)

<p align="center">
<img src="./runatlantis.io/.vuepress/public/hero.png" alt="Atlantis Logo"/><br><br>
<img src="./runatlantis.io/.vitepress/public/hero.png" alt="Atlantis Logo"/><br><br>
<b>Terraform Pull Request Automation</b>
</p>

Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Netlify Config, https://www.netlify.com/docs/netlify-toml-reference/
[build]
base = "/"
publish = "runatlantis.io/.vuepress/dist/"
publish = "runatlantis.io/.vitepress/dist/"
command = "pnpm website:build"

[[redirects]]
Expand Down
17 changes: 6 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
{
"license": "Apache-2.0",
"type": "module",
chenrui333 marked this conversation as resolved.
Show resolved Hide resolved
"devDependencies": {
"@playwright/test": "^1.44.0",
"@vuepress/bundler-webpack": "2.0.0-rc.9",
"@vuepress/plugin-docsearch": "2.0.0-rc.21",
"@vuepress/plugin-google-analytics": "2.0.0-rc.21",
"@vuepress/plugin-sitemap": "2.0.0-rc.21",
"@vuepress/theme-default": "2.0.0-rc.21",
"@vuepress/utils": "2.0.0-rc.9",
"sass-loader": "14.2.1",
"vue": "3.4.27",
"vuepress": "2.0.0-rc.9"
"@types/node": "^20.12.10",
"sass": "^1.77.0",
chenrui333 marked this conversation as resolved.
Show resolved Hide resolved
"vitepress": "^1.1.4"
},
"scripts": {
"website:dev": "vuepress dev --host localhost runatlantis.io",
"website:build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build runatlantis.io",
"website:dev": "vitepress dev --host localhost --port 8080 runatlantis.io",
"website:build": "vitepress build runatlantis.io",
"e2e": "playwright test"
}
}
File renamed without changes.
Loading
Loading