Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
elements_constants.py
Go to the documentation of this file.
1r"""
2# +==== BEGIN CatFeeder =================+
3# LOGO:
4# ..............(..../\
5# ...............)..(.')
6# ..............(../..)
7# ...............\‍(__)|
8# Inspired by Joan Stark
9# source https://www.asciiart.eu/
10# animals/cats
11# /STOP
12# PROJECT: CatFeeder
13# FILE: elements_constants.py
14# CREATION DATE: 26-11-2025
15# LAST Modified: 14:44:21 19-12-2025
16# DESCRIPTION:
17# This is the backend server in charge of making the actual website work.
18# /STOP
19# COPYRIGHT: (c) Cat Feeder
20# PURPOSE: Constants for Stoplight Elements documentation provider.
21# // AR
22# +==== END CatFeeder =================+
23"""
24
25from .. import docs_constants as DOCS_CONST
26
27# Stoplight Elements configuration
28ELEMENTS_URL: str = "/elements"
29ELEMENTS_CDN_VERSION: str = DOCS_CONST.ELEMENTS_CDN_VERSION
30ELEMENTS_CDN_JS: str = f"https://unpkg.com/@stoplight/elements@{ELEMENTS_CDN_VERSION}/web-components.min.js"
31ELEMENTS_CDN_CSS: str = f"https://unpkg.com/@stoplight/elements@{ELEMENTS_CDN_VERSION}/styles.min.css"
32
33# Elements layout: "sidebar", "stacked"
34ELEMENTS_LAYOUT: str = "sidebar"
35
36# Elements router: "hash", "memory", "history"
37ELEMENTS_ROUTER: str = "hash"
38
39# Elements configuration options
40ELEMENTS_OPTIONS: dict = {
41 "hideTryIt": False,
42 "hideSchemas": False,
43 "hideInternal": False,
44 "hideExport": False,
45 "tryItCredentialsPolicy": "include",
46}