mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
Merge pull request #12610 from nextcloud/backport/12609/stable31
[stable31] ci: Fix spelling action to ignore SVGs
This commit is contained in:
9
.github/workflows/codespell.yml
vendored
9
.github/workflows/codespell.yml
vendored
@@ -12,6 +12,11 @@ jobs:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Check spelling
|
||||
uses: codespell-project/actions-codespell@v2
|
||||
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1
|
||||
with:
|
||||
skip: '**.svg'
|
||||
|
||||
@@ -606,7 +606,7 @@ You are required to add a description for every status code returned by the meth
|
||||
How to add response definitions to share type definitions
|
||||
---------------------------------------------------------
|
||||
|
||||
In the previous steps we have been re-using the same data structure multiple times, but it was copied every time.
|
||||
In the previous steps we have been reusing the same data structure multiple times, but it was copied every time.
|
||||
This is tedious and error prone, therefore we want to create some shared type definitions.
|
||||
Create a new file called ``ResponseDefinitions.php`` in the ``lib`` folder of your app.
|
||||
It will only work with that file name at that location.
|
||||
|
||||
@@ -5,8 +5,8 @@ JavaScript and Typescript
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
General rules and advices
|
||||
-------------------------
|
||||
General rules and advice
|
||||
------------------------
|
||||
|
||||
- Nextcloud uses Vue.js for its interface, for a consistent user interface we recommend apps to also use Vue with :ref:`provided components <js-library_nextcloud-vue>`.
|
||||
Yet also vanilla JavaScript and HTML can be used.
|
||||
|
||||
Reference in New Issue
Block a user