Skip to content

Commit

Permalink
Merge branch 'develop' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 authored Sep 21, 2024
2 parents bb15ce8 + 38944bd commit 3f57a48
Show file tree
Hide file tree
Showing 210 changed files with 19,464 additions and 42,369 deletions.
5 changes: 0 additions & 5 deletions .codesandbox/ci.json

This file was deleted.

9 changes: 0 additions & 9 deletions .eslintignore

This file was deleted.

84 changes: 0 additions & 84 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
51 changes: 30 additions & 21 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,53 @@
---
name: Bug report
about: Create a report to help us improve

about: Create a report to help us fix an issue
---
<!-- Please don't delete this template or we'll close your issue -->
<!-- Please use English language -->
<!-- Before creating an issue please make sure you are using the latest version of Docsify. -->
<!-- Please ask questions on StackOverflow: https://stackoverflow.com/questions/ask?tags=docsify -->
<!-- Please ask questions on Discord: https://discord.gg/3NwKFyR -->

<!--
Please don't delete this template or we'll close your issue.
Please write in English.
Before creating an issue please make sure you are using the latest version of Docsify.
Please ask questions on StackOverflow (👉 https://stackoverflow.com/questions/ask?tags=docsify)
or in our Discord chat server (👉 https://discord.gg/docsify).
-->

## Bug Report

#### Steps to reproduce

<!-- List the steps needed to reproduce here. -->

#### Current behaviour

<!-- Describe the current behavior here. -->

#### What is current behaviour
#### Expected behaviour

<!-- Describe the expected behavior here. -->

#### Other relevant information

#### What is the expected behaviour
- Docsify version:

<!-- (Change "[ ]" to "[x]" to check a box.) -->

- [ ] Bug still occurs when all/other plugins are disabled?

#### Other relevant information
- Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue):

<!-- Please provide the following information if relevant to the issue.
<!-- (Update "[ ]" to "[x]" to check a box) -->
- [ ] Bug does still occur when all/other plugins are disabled?
- Your OS:
- Node.js version:
- npm/yarn version:
- Browser version:
- Your OS:
- Node.js version:
- npm/yarn version:
- Browser version:
- Docsify version:
- Docsify plugins:
-->

<!-- Love docsify? Please consider supporting our collective:
👉 https://opencollective.com/docsify/donate -->
<!-- Love docsify and want to help us advance Docsify or to spend time supporting your case? Please consider supporting our collective:
👉 https://opencollective.com/docsify/donate -->

#### Please create a reproducible sandbox
#### Please create a reproducible sandbox

[![Edit 307qqv236](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/307qqv236)

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Discord - the community chat
url: https://discord.gg/3NwKFyR
about: Join Discord community and chat about Docsify
url: https://discord.gg/docsify
about: Join the Discord community and chat about Docsify
31 changes: 19 additions & 12 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
---
name: Feature request
about: Suggest an idea for this project

---
<!-- Please don't delete this template or we'll close your issue -->
<!-- Please use English language -->
<!-- Before creating an issue please make sure you are using the latest version of Docsify. -->
<!-- Please ask questions on StackOverflow 👉 https://stackoverflow.com/questions/ask?tags=docsify -->

## Feature request

#### What problem does this feature solve?

<!--
Please don't delete this template or we'll close your issue.
Please write in English.
Before creating an issue please make sure you are using the latest version of Docsify.
Please ask questions on StackOverflow (👉 https://stackoverflow.com/questions/ask?tags=docsify)
or in our Discord chat server (👉 https://discord.gg/docsify).
-->

## Feature request

#### What does the proposed API look like?
#### Problem or desire

<!-- Describe what problem this feature will solve. -->

#### Proposal

#### How should this be implemented in your opinion?
<!-- What does the proposed feature look like? -->

#### Implementation

<!--
How should the feature be implemented in your opinion?
#### Are you willing to work on this yourself?
We have limited free time. Please consider contributing, or donating to our
OpenCollective (👉 https://opencollective.com/docsify/donate), to help get this
feature added and to advance Docsify.
-->
53 changes: 22 additions & 31 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,25 @@
<!--
PULL REQUEST TEMPLATE
---
Please use English language
Please don't delete this template
---
Update "[ ]" to "[x]" to check a box in any list below.
---
To avoid wasting your time, it's best to open a **feature request issue** first and wait for approval before working on it.
Please write in English.
Please follow the template, all sections are required.
Consider opening a feature request first to get your change idea approved.
-->

## **Summary**
## Summary

<!--
THIS IS REQUIRED! Please describe what the change does and why it should be merged.
Describe what the change does and why it should be merged.
Provide **before/after** screenshots for any UI changes.
-->

<!--
If changing the UI in any way, please provide the a **before/after** screenshot:
-->
## Related issue, if any:

## **What kind of change does this PR introduce?**
<!-- Paste issue's link or number hashtag here. -->

<!--
Copy/paste one of the following options:
-->
## What kind of change does this PR introduce?

<!--
Copy/paste any of the relevant following options:
Bugfix
Feature
Code style update
Expand All @@ -34,32 +28,29 @@
Build-related changes
Repo settings
Other
-->
<!--
If you chose Other, please describe.
If you choose Other, describe it.
-->

## **For any code change,**
## For any code change,

- [ ] Related documentation has been updated if needed
- [ ] Related tests have been updated or tests have been added
<!-- (Change "[ ]" to "[x]" to check a box.) -->

## **Does this PR introduce a breaking change?** (check one)
- [ ] Related documentation has been updated, if needed
- [ ] Related tests have been added or updated, if needed

- [ ] Yes
- [ ] No
## Does this PR introduce a breaking change?

If yes, please describe the impact and migration path for existing applications:
<!-- (pick one) -->

## **Related issue, if any:**
Yes
No

<!-- Paste issue's link or number hashtag here. -->
<!-- If yes, describe the impact and migration path for existing applications. -->

## **Tested in the following browsers:**
## Tested in the following browsers:

- [ ] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Edge
- [ ] IE
9 changes: 9 additions & 0 deletions .github/crowdin/crowdin-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
files:
- source: /*.md
translation: /%two_letters_code%/%original_file_name%
ignore:
- '/_coverpage.md'
- '/_navbar.md'

project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
18 changes: 14 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,22 @@
version: 2
updates:
- package-ecosystem: npm # See documentation for possible values
directory: "/" # Location of package manifests
directory: '/' # Location of package manifests
open-pull-requests-limit: 10
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
interval: monthly
ignore:
# For all dependencies, trigger pull requests only for semver-major updates (ignore minor and patch).
- dependency-name: '*'
update-types:
['version-update:semver-patch', 'version-update:semver-minor']
- package-ecosystem: 'github-actions'
directory: '/'
open-pull-requests-limit: 10
schedule:
interval: monthly
ignore:
# For all dependencies, trigger pull requests only for semver-major and semver-minor updates (ignore patch).
- dependency-name: '*'
update-types:
['version-update:semver-patch', 'version-update:semver-minor']
31 changes: 31 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Crowdin Action

on:
workflow_dispatch:
push:
paths:
- 'docs/**.md'
branches: [develop, master]

jobs:
crowdin:
if: github.repository == 'docsifyjs/docsify'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Crowdin push
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: false
download_translations: false
push_translations: false
config: '.github/crowdin/crowdin-push.yml'
crowdin_branch_name: ${{ github.ref_name }}
base_path: ${{ github.workspace }}/docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
Loading

0 comments on commit 3f57a48

Please sign in to comment.