fix: properly index <h2> sections

ref: https://github.com/wotakumoe/wotaku/pull/86
This commit is contained in:
taskylizard 2025-01-12 17:44:42 +00:00
parent 84ae282b2b
commit d6b9979464
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
10 changed files with 347 additions and 295 deletions

View file

@ -100,7 +100,7 @@ Select edit button and make your changes.
1. Fork the repository by clicking the "Fork" button in the top right corner.
2. Make sure you have [Node.js](https://nodejs.org/en/), [pnpm](https://pnpm.io/), [git](https://git-scm.com/), and [VSCode](https://code.visualstudio.com/) or any other editor installed.
2. Make sure you have [Node.js](https://nodejs.org/en/), [pnpm](https://pnpm.io/), [git](https://git-scm.com/), and [VSCode](https://code.visualstudio.com/) or any other editor installed. Alternatively, `pnpm` has `pnpm env` you can use to manage Node.
3. Clone your forked repository to your local machine.

View file

@ -1 +0,0 @@

View file

@ -20,7 +20,6 @@ title: Monthly Updates [Month]
description: Month 20YY updates
date: 20YY-MM-DD
next: false
aside: left
prev: false
sidebar: false
footer: true

View file

@ -1,23 +0,0 @@
<!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
## Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
## Types of changes
<!--- What types of changes does your Pull Request introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bad / Deleted sites removal
- [ ] Grammar / Markdown fixes
- [ ] Content addition (sites, projects, tools, etc.)
- [ ] New Wiki section
- [ ] Section Improvement
## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply to this Pull Request. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] I have read the [contribution guide](https://fmhy.net/other/contributing).
- [ ] I have made sure to [search](https://api.fmhy.net/single-page) before making any changes.
- [ ] My code follows the code style of this project.

9
.github/labeler.yml vendored
View file

@ -1,9 +0,0 @@
# See https://github.com/actions/labeler
docs:
- 'docs/**/*.md'
core:
- 'api/**'
- '.github/**'
- 'docs/.vitepress/**'

View file

@ -1,17 +0,0 @@
name: 'Pull Request Housekeeping'
on: [pull_request_target]
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Label PRs
uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}