Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: goauthentik/authentik
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: dominic-r/authentik
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: patch-1
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 15, 2025

  1. root: Makefile: copy over schema for website-watch

    `make website-watch` will fail with the following error if the schema.yml file is not present in the website's static directory. This was tested on a branch up to date with main with the schema file I copied over removed.
    ```
    ➜  authentik git:(sdko/integrations-all/migr-to-wizard) ✗ w
    cd website && npm run watch
    
    > @goauthentik/[email protected] watch
    > docusaurus gen-api-docs all && docusaurus start
    
    (node:102678) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
    (Use `node --trace-deprecation ...` to show where the warning was created)
    Loading of api failed for "/home/d/Code/authentik/website/static/schema.yml"
    
    [ERROR] [Error: ENOENT: no such file or directory, lstat '/home/d/Code/authentik/website/static/schema.yml'] {
      errno: -2,
      code: 'ENOENT',
      syscall: 'lstat',
      path: '/home/d/Code/authentik/website/static/schema.yml'
    }
    [INFO] Docusaurus version: 3.7.0
    Node version: v23.6.1
    make: *** [Makefile:233: website-watch] Error 1
    ```
    
    We should copy over the schema each time in case it changes. Adding it to this Makefile instruction as [official docs](https://docs.goauthentik.io/docs/developer-docs/setup/website-dev-environment) tell users to run `make website-install` which simply `npm ci`s, then this...
    
    Signed-off-by: Dominic R <[email protected]>
    dominic-r authored Mar 15, 2025
    Copy the full SHA
    504c015 View commit details
  2. tabs?

    Signed-off-by: Dominic R <[email protected]>
    dominic-r authored Mar 15, 2025
    Copy the full SHA
    d84d93a View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 Makefile
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -230,6 +230,8 @@ website-build:
cd website && npm run build

website-watch: ## Build and watch the documentation website, updating automatically
[ -f ./website/static/schema.yml ] && rm ./website/static/schema.yml
cp ./schema.yml ./website/static/schema.yml
cd website && npm run watch

#########################