Skip to content

Commit

Permalink
Reworked landing page fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karurochari committed Dec 19, 2024
1 parent 05618cc commit 61bd0a0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ jobs:
python3-pip \
python3-setuptools
python3 -m pip install mkdocs mkdocs-github-admonitions-plugin mkdocs-get-deps pymdown-extensions
mkdir dist
doxygen
mkdocs build
bun install -g gh-pages
- name: Deploy
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
gh-pages -d dist -e . -u "github-actions-bot <[email protected]>"
gh-pages -d dist/website -e . -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.

OUTPUT_DIRECTORY = dist/doxygen
OUTPUT_DIRECTORY = dist/website/doxygen

# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
# sub-directories (in 2 levels) under the output directory of each output format
Expand Down
3 changes: 2 additions & 1 deletion dist/website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
}

main {
justify-items: center;
justify-content: center;
display: grid;
}
</style>
</head>
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
site_name: vs.fltk
repo_url: https://github.com/karurochori/vs-fltk
site_dir: dist/docs
site_dir: dist/website/docs
docs_dir: docs

theme:
Expand Down

0 comments on commit 61bd0a0

Please sign in to comment.