Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
scalar_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: scalar_constants.py
14# CREATION DATE: 26-11-2025
15# LAST Modified: 14:45:45 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 Scalar documentation provider.
21# // AR
22# +==== END CatFeeder =================+
23"""
24
25from .. import docs_constants as DOCS_CONST
26
27# Scalar configuration
28SCALAR_URL: str = "/scalar"
29SCALAR_CDN_VERSION: str = DOCS_CONST.SCALAR_CDN_VERSION
30SCALAR_CDN_URL: str = f"https://cdn.jsdelivr.net/npm/@scalar/api-reference@{SCALAR_CDN_VERSION}"
31
32# Scalar theme: "default", "alternate", "moon", "purple", "solarized", "bluePlanet", "saturn", "kepler", "mars", "deepSpace"
33SCALAR_THEME: str = "purple"
34
35# Scalar layout: "modern" or "classic"
36SCALAR_LAYOUT: str = "modern"
37
38# Scalar configuration options
39SCALAR_OPTIONS: dict = {
40 "showSidebar": True,
41 "darkMode": True,
42 "hideDownloadButton": False,
43 "searchHotKey": "k",
44}