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: vitepress-docs #1617

Merged
merged 28 commits into from
Nov 28, 2023
Merged

feat: vitepress-docs #1617

merged 28 commits into from
Nov 28, 2023

Conversation

TheGreatRefrigerator
Copy link
Contributor

Pull Request Checklist

  • 1. I have rebased the latest version of the master branch into my feature branch and all conflicts
    have been resolved.
  • 2. I have added information about the change/addition to functionality to the CHANGELOG.md file under the
    [Unreleased] heading.
  • 9. I have referenced the Issue Number in the Pull Request (if the changes were from an issue).
  • 12. I have written in the Pull Request information about the changes made including their intended usage
    and why the change was needed.

Fixes #1528

Information about the changes

  • Key functionality added: VitePress GitHub-Pages documentaiton for /docs folder
  • Reason for change: Modern Design & easy dev-setup

@TheGreatRefrigerator TheGreatRefrigerator changed the title feat/vitepress-docs feat: vitepress-docs Nov 23, 2023
@TheGreatRefrigerator
Copy link
Contributor Author

restructured commits a bit to remove "fixing" commits.

@koebi i removed running the 'build' also on 'preview' in package.json. If we want a combined task, we should add a dedicated one for it.

@koebi
Copy link
Collaborator

koebi commented Nov 23, 2023

We discussed this, and decided that preview should also always build.
There's rarely a situation where you don't want to preview your current state, and it's a bit counterintuitive that preview doesn't build…

Copy link
Collaborator

@koebi koebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned some minor points and two discussions:

  • tagline
  • trigger on what?

.github/workflows/deploy-docs.yml Show resolved Hide resolved
docs/index.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
docs/.vitepress/theme/custom.css Show resolved Hide resolved
@TheGreatRefrigerator
Copy link
Contributor Author

We discussed this, and decided that preview should also always build. There's rarely a situation where you don't want to preview your current state, and it's a bit counterintuitive that preview doesn't build…

it's just a bit off, as it then doesn't map 1:1 to the tasks that are run, which are currently the separate vitepress cli commands.
I would at least call the run task differently then e.g. just build-preview.
The not always wanting to run build could also be accomplished with having a run configuration for the preview task, that executes the build task before.
e.g.
grafik

If we have a combined npm task we can then also only name this in the Backend-Documentation.md

@koebi
Copy link
Collaborator

koebi commented Nov 27, 2023

I think having an additional build-preview task is a good idea. Let's go with that :)

@TheGreatRefrigerator
Copy link
Contributor Author

I think having an additional build-preview task is a good idea. Let's go with that :)

added the combined task

@TheGreatRefrigerator TheGreatRefrigerator merged commit 5cd3d30 into master Nov 28, 2023
13 checks passed
@TheGreatRefrigerator TheGreatRefrigerator deleted the feat/vitepress-docs branch November 28, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Awaiting release
Development

Successfully merging this pull request may close these issues.

move to vitepress
2 participants