* move 2023.7 to 2023.8 Signed-off-by: Jens Langhammer <jens@goauthentik.io> * move version dropdown from navbar to sidebar, and only have it on applicable sites Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove title instead of just hiding it Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix some styling for the mobile navbar sidebar Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add social image Signed-off-by: Jens Langhammer <jens@goauthentik.io> * Optimised images with calibre/image-actions * fix website tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
		
			
				
	
	
		
			99 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			99 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const docsSidebar = require("./sidebars.js");
 | 
						|
const generateVersionDropdown =
 | 
						|
    require("./src/utils.js").generateVersionDropdown;
 | 
						|
 | 
						|
module.exports = {
 | 
						|
    docs: [
 | 
						|
        {
 | 
						|
            type: "html",
 | 
						|
            value: generateVersionDropdown(docsSidebar),
 | 
						|
        },
 | 
						|
        {
 | 
						|
            type: "doc",
 | 
						|
            id: "index",
 | 
						|
        },
 | 
						|
        {
 | 
						|
            type: "category",
 | 
						|
            label: "Blueprints",
 | 
						|
            link: {
 | 
						|
                type: "doc",
 | 
						|
                id: "blueprints/index",
 | 
						|
            },
 | 
						|
            items: [
 | 
						|
                "blueprints/export",
 | 
						|
                "blueprints/v1/structure",
 | 
						|
                "blueprints/v1/tags",
 | 
						|
                "blueprints/v1/example",
 | 
						|
                {
 | 
						|
                    type: "category",
 | 
						|
                    label: "Models",
 | 
						|
                    link: {
 | 
						|
                        type: "doc",
 | 
						|
                        id: "blueprints/v1/models",
 | 
						|
                    },
 | 
						|
                    items: ["blueprints/v1/meta"],
 | 
						|
                },
 | 
						|
            ],
 | 
						|
        },
 | 
						|
        {
 | 
						|
            type: "category",
 | 
						|
            label: "API",
 | 
						|
            link: {
 | 
						|
                type: "doc",
 | 
						|
                id: "api/api",
 | 
						|
            },
 | 
						|
            items: [
 | 
						|
                "api/flow-executor",
 | 
						|
                "api/making-schema-changes",
 | 
						|
                "api/websocket",
 | 
						|
                "api/browser",
 | 
						|
            ],
 | 
						|
        },
 | 
						|
        {
 | 
						|
            type: "category",
 | 
						|
            label: "Setup",
 | 
						|
            items: [
 | 
						|
                "setup/full-dev-environment",
 | 
						|
                "setup/frontend-dev-environment",
 | 
						|
                "setup/website-dev-environment",
 | 
						|
            ],
 | 
						|
        },
 | 
						|
        {
 | 
						|
            type: "doc",
 | 
						|
            id: "translation",
 | 
						|
        },
 | 
						|
        {
 | 
						|
            type: "category",
 | 
						|
            label: "Writing documentation",
 | 
						|
            link: {
 | 
						|
                type: "doc",
 | 
						|
                id: "docs/writing-documentation",
 | 
						|
            },
 | 
						|
            items: [
 | 
						|
                {
 | 
						|
                    type: "category",
 | 
						|
                    label: "Templates",
 | 
						|
                    link: {
 | 
						|
                        type: "doc",
 | 
						|
                        id: "docs/templates/index",
 | 
						|
                    },
 | 
						|
                    items: [
 | 
						|
                        "docs/templates/procedural",
 | 
						|
                        "docs/templates/conceptual",
 | 
						|
                        "docs/templates/reference",
 | 
						|
                    ],
 | 
						|
                },
 | 
						|
            ],
 | 
						|
        },
 | 
						|
        {
 | 
						|
            type: "doc",
 | 
						|
            id: "releases/index",
 | 
						|
        },
 | 
						|
        {
 | 
						|
            type: "category",
 | 
						|
            label: "Community Events",
 | 
						|
            items: ["hackathon/index"],
 | 
						|
        },
 | 
						|
    ],
 | 
						|
};
 |