diff --git a/1.17/404.html b/1.17/404.html new file mode 100644 index 0000000..3aca245 --- /dev/null +++ b/1.17/404.html @@ -0,0 +1 @@ +
1import logging + 2from pathlib import Path + 3 + 4from click import Command, Context + 5 + 6from dbterd import default + 7from dbterd.adapters.base import Executor + 8from dbterd.helpers.log import logger + 9 + 10logger.setLevel(logging.WARNING) # hide log + 11 + 12 + 13class DbtErd: + 14 """ + 15 dbt ERD official API functions. + 16 + 17 + 18 **Usage**: + 19 + 20 ## Get a whole ERD + 21 + 22 ```python + 23 from dbterd.api import DbtErd + 24 erd = DbtErd().get_erd() + 25 ``` + 26 + 27 ## Get a whole ERD given all models attached to `my_exposure_name` + 28 + 29 ```python + 30 from dbterd.api import DbtErd + 31 erd = DbtErd(select="exposure:my_exposure_name").get_erd() + 32 ``` + 33 See the + 34 [Selection](https://dbterd.datnguyen.de/latest/nav/guide/cli-references.html#dbterd-run-select-s) + 35 page for more details. + 36 + 37 ## Get a model (named `model.jaffle_shop.my_model`)'s ERD + 38 + 39 ```python + 40 from dbterd.api import DbtErd + 41 erd = DbtErd().get_model_erd(s + 42 node_fqn="model.jaffle_shop.my_model" + 43 ) + 44 ``` + 45 """ + 46 + 47 def __init__(self, **kwargs) -> None: + 48 """Initialize the main Executor given similar input CLI parameters""" + 49 + 50 self.params: dict = kwargs + 51 """ + 52 Mimic CLI params with overriding `api = True`.\n + 53 Check + 54 [CLI reference page](https://dbterd.datnguyen.de/latest/nav/guide/cli-references.html) + 55 for more details of how the params are used. + 56 """ + 57 self.__set_params_default_if_not_specified() + 58 ctx_command = self.params.get("api_context_command") + 59 self.executor: Executor = Executor( + 60 Context(Command(name=ctx_command if ctx_command else "run")) + 61 ) + 62 """ + 63 Mimic CLI's executor.\n + 64 The context command is `run` by default + 65 unless specifying a param named `api_context_command` + 66 """ + 67 + 68 def __set_params_default_if_not_specified(self) -> None: + 69 """Set base params' default value (mimic CLI behaviors where possible)""" + 70 self.params["api"] = True + 71 + 72 self.params["select"] = self.params.get("select", []) + 73 self.params["exclude"] = self.params.get("exclude", []) + 74 self.params["resource_type"] = self.params.get( + 75 "resource_type", default.default_resource_types() + 76 ) + 77 self.params["algo"] = self.params.get("algo", default.default_algo()) + 78 self.params["entity_name_format"] = self.params.get( + 79 "entity_name_format", default.default_entity_name_format() + 80 ) + 81 self.params["omit_columns"] = self.params.get("omit_columns", False) + 82 self.params["artifacts_dir"] = self.params.get("artifacts_dir", Path.cwd()) + 83 self.params["target"] = self.params.get("target", default.default_target()) + 84 + 85 def get_erd(self) -> str: + 86 """Generate ERD code for a whole project + 87 + 88 Usage: + 89 ```python + 90 from dbterd.api import DbtErd + 91 erd = DbtErd().get_erd() + 92 ``` + 93 + 94 Returns: + 95 str: ERD text + 96 """ + 97 return self.executor.run(**self.params) + 98 + 99 def get_model_erd(self, node_unique_id: str) -> str: +100 """Generate ERD code for a model. +101 +102 Result contains the input model and 1 level relationship model(s) (if any). +103 +104 Usage: +105 +106 ```python +107 from dbterd.api import DbtErd +108 erd = DbtErd().get_model_erd( +109 node_unique_id="model.jaffle_shop.my_model" +110 ) +111 ``` +112 +113 Args: +114 - node_unique_id (str): Manifest node unique ID +115 +116 Returns: +117 str: ERD text +118 """ +119 return self.executor.run(node_unique_id=node_unique_id, **self.params) +
14class DbtErd: + 15 """ + 16 dbt ERD official API functions. + 17 + 18 + 19 **Usage**: + 20 + 21 ## Get a whole ERD + 22 + 23 ```python + 24 from dbterd.api import DbtErd + 25 erd = DbtErd().get_erd() + 26 ``` + 27 + 28 ## Get a whole ERD given all models attached to `my_exposure_name` + 29 + 30 ```python + 31 from dbterd.api import DbtErd + 32 erd = DbtErd(select="exposure:my_exposure_name").get_erd() + 33 ``` + 34 See the + 35 [Selection](https://dbterd.datnguyen.de/latest/nav/guide/cli-references.html#dbterd-run-select-s) + 36 page for more details. + 37 + 38 ## Get a model (named `model.jaffle_shop.my_model`)'s ERD + 39 + 40 ```python + 41 from dbterd.api import DbtErd + 42 erd = DbtErd().get_model_erd(s + 43 node_fqn="model.jaffle_shop.my_model" + 44 ) + 45 ``` + 46 """ + 47 + 48 def __init__(self, **kwargs) -> None: + 49 """Initialize the main Executor given similar input CLI parameters""" + 50 + 51 self.params: dict = kwargs + 52 """ + 53 Mimic CLI params with overriding `api = True`.\n + 54 Check + 55 [CLI reference page](https://dbterd.datnguyen.de/latest/nav/guide/cli-references.html) + 56 for more details of how the params are used. + 57 """ + 58 self.__set_params_default_if_not_specified() + 59 ctx_command = self.params.get("api_context_command") + 60 self.executor: Executor = Executor( + 61 Context(Command(name=ctx_command if ctx_command else "run")) + 62 ) + 63 """ + 64 Mimic CLI's executor.\n + 65 The context command is `run` by default + 66 unless specifying a param named `api_context_command` + 67 """ + 68 + 69 def __set_params_default_if_not_specified(self) -> None: + 70 """Set base params' default value (mimic CLI behaviors where possible)""" + 71 self.params["api"] = True + 72 + 73 self.params["select"] = self.params.get("select", []) + 74 self.params["exclude"] = self.params.get("exclude", []) + 75 self.params["resource_type"] = self.params.get( + 76 "resource_type", default.default_resource_types() + 77 ) + 78 self.params["algo"] = self.params.get("algo", default.default_algo()) + 79 self.params["entity_name_format"] = self.params.get( + 80 "entity_name_format", default.default_entity_name_format() + 81 ) + 82 self.params["omit_columns"] = self.params.get("omit_columns", False) + 83 self.params["artifacts_dir"] = self.params.get("artifacts_dir", Path.cwd()) + 84 self.params["target"] = self.params.get("target", default.default_target()) + 85 + 86 def get_erd(self) -> str: + 87 """Generate ERD code for a whole project + 88 + 89 Usage: + 90 ```python + 91 from dbterd.api import DbtErd + 92 erd = DbtErd().get_erd() + 93 ``` + 94 + 95 Returns: + 96 str: ERD text + 97 """ + 98 return self.executor.run(**self.params) + 99 +100 def get_model_erd(self, node_unique_id: str) -> str: +101 """Generate ERD code for a model. +102 +103 Result contains the input model and 1 level relationship model(s) (if any). +104 +105 Usage: +106 +107 ```python +108 from dbterd.api import DbtErd +109 erd = DbtErd().get_model_erd( +110 node_unique_id="model.jaffle_shop.my_model" +111 ) +112 ``` +113 +114 Args: +115 - node_unique_id (str): Manifest node unique ID +116 +117 Returns: +118 str: ERD text +119 """ +120 return self.executor.run(node_unique_id=node_unique_id, **self.params) +
dbt ERD official API functions.
+ +Usage:
+ +from dbterd.api import DbtErd
+erd = DbtErd().get_erd()
+
+my_exposure_name
from dbterd.api import DbtErd
+erd = DbtErd(select="exposure:my_exposure_name").get_erd()
+
+See the +Selection +page for more details.
+ +model.jaffle_shop.my_model
)'s ERDfrom dbterd.api import DbtErd
+erd = DbtErd().get_model_erd(s
+ node_fqn="model.jaffle_shop.my_model"
+)
+
+48 def __init__(self, **kwargs) -> None: +49 """Initialize the main Executor given similar input CLI parameters""" +50 +51 self.params: dict = kwargs +52 """ +53 Mimic CLI params with overriding `api = True`.\n +54 Check +55 [CLI reference page](https://dbterd.datnguyen.de/latest/nav/guide/cli-references.html) +56 for more details of how the params are used. +57 """ +58 self.__set_params_default_if_not_specified() +59 ctx_command = self.params.get("api_context_command") +60 self.executor: Executor = Executor( +61 Context(Command(name=ctx_command if ctx_command else "run")) +62 ) +63 """ +64 Mimic CLI's executor.\n +65 The context command is `run` by default +66 unless specifying a param named `api_context_command` +67 """ +
Initialize the main Executor given similar input CLI parameters
+Mimic CLI params with overriding api = True
.
Check +CLI reference page +for more details of how the params are used.
+Mimic CLI's executor.
+ +The context command is run
by default
+unless specifying a param named api_context_command
86 def get_erd(self) -> str: +87 """Generate ERD code for a whole project +88 +89 Usage: +90 ```python +91 from dbterd.api import DbtErd +92 erd = DbtErd().get_erd() +93 ``` +94 +95 Returns: +96 str: ERD text +97 """ +98 return self.executor.run(**self.params) +
Generate ERD code for a whole project
+ +Usage:
+ +from dbterd.api import DbtErd
+erd = DbtErd().get_erd()
+
+Returns: + str: ERD text
+100 def get_model_erd(self, node_unique_id: str) -> str: +101 """Generate ERD code for a model. +102 +103 Result contains the input model and 1 level relationship model(s) (if any). +104 +105 Usage: +106 +107 ```python +108 from dbterd.api import DbtErd +109 erd = DbtErd().get_model_erd( +110 node_unique_id="model.jaffle_shop.my_model" +111 ) +112 ``` +113 +114 Args: +115 - node_unique_id (str): Manifest node unique ID +116 +117 Returns: +118 str: ERD text +119 """ +120 return self.executor.run(node_unique_id=node_unique_id, **self.params) +
Generate ERD code for a model.
+ +Result contains the input model and 1 level relationship model(s) (if any).
+ +Usage: +
from dbterd.api import DbtErd
+ erd = DbtErd().get_model_erd(
+ node_unique_id="model.jaffle_shop.my_model"
+ )
+
+ Args: + - node_unique_id (str): Manifest node unique ID
+ +Returns: + str: ERD text
+dbt ERD official API functions.
\n\nUsage:
\n\nfrom dbterd.api import DbtErd\nerd = DbtErd().get_erd()\n
\nmy_exposure_name
from dbterd.api import DbtErd\nerd = DbtErd(select="exposure:my_exposure_name").get_erd()\n
\nSee the\nSelection\npage for more details.
\n\nmodel.jaffle_shop.my_model
)'s ERDfrom dbterd.api import DbtErd\nerd = DbtErd().get_model_erd(s\n node_fqn="model.jaffle_shop.my_model"\n)\n
\nInitialize the main Executor given similar input CLI parameters
\n", "signature": "(**kwargs)"}, "dbterd.api.DbtErd.params": {"fullname": "dbterd.api.DbtErd.params", "modulename": "dbterd.api", "qualname": "DbtErd.params", "kind": "variable", "doc": "Mimic CLI params with overriding api = True
.
Check\nCLI reference page\nfor more details of how the params are used.
\n", "annotation": ": dict"}, "dbterd.api.DbtErd.executor": {"fullname": "dbterd.api.DbtErd.executor", "modulename": "dbterd.api", "qualname": "DbtErd.executor", "kind": "variable", "doc": "Mimic CLI's executor.
\n\nThe context command is run
by default\nunless specifying a param named api_context_command
Generate ERD code for a whole project
\n\nUsage:
\n\nfrom dbterd.api import DbtErd\nerd = DbtErd().get_erd()\n
\nReturns:\n str: ERD text
\n", "signature": "(self) -> str:", "funcdef": "def"}, "dbterd.api.DbtErd.get_model_erd": {"fullname": "dbterd.api.DbtErd.get_model_erd", "modulename": "dbterd.api", "qualname": "DbtErd.get_model_erd", "kind": "function", "doc": "Generate ERD code for a model.
\n\nResult contains the input model and 1 level relationship model(s) (if any).
\n\nUsage:\n
from dbterd.api import DbtErd\n erd = DbtErd().get_model_erd(\n node_unique_id="model.jaffle_shop.my_model"\n )\n
\n Args:\n - node_unique_id (str): Manifest node unique ID
\n\nReturns:\n str: ERD text
\n", "signature": "(self, node_unique_id: str) -> str:", "funcdef": "def"}}, "docInfo": {"dbterd.api": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "dbterd.api.DbtErd": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 240}, "dbterd.api.DbtErd.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 11, "bases": 0, "doc": 11}, "dbterd.api.DbtErd.params": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 30}, "dbterd.api.DbtErd.executor": {"qualname": 2, "fullname": 4, "annotation": 5, "default_value": 0, "signature": 0, "bases": 0, "doc": 28}, "dbterd.api.DbtErd.get_erd": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 64}, "dbterd.api.DbtErd.get_model_erd": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 26, "bases": 0, "doc": 115}}, "length": 7, "save": true}, "index": {"qualname": {"root": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1, "d": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.__init__": {"tf": 1}, "dbterd.api.DbtErd.params": {"tf": 1}, "dbterd.api.DbtErd.executor": {"tf": 1}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 6}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}}}}, "fullname": {"root": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1, "d": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api": {"tf": 1}, "dbterd.api.DbtErd": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.__init__": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.params": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.executor": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.get_erd": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1.4142135623730951}}, "df": 7}}}}}}, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"dbterd.api": {"tf": 1}, "dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.__init__": {"tf": 1}, "dbterd.api.DbtErd.params": {"tf": 1}, "dbterd.api.DbtErd.executor": {"tf": 1}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 7}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}}}}, "annotation": {"root": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}, "dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 2, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}, "b": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}}}}}, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}}}}}}}, "default_value": {"root": {"docs": {}, "df": 0}}, "signature": {"root": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 3.1622776601683795}, "dbterd.api.DbtErd.get_erd": {"tf": 3.4641016151377544}, "dbterd.api.DbtErd.get_model_erd": {"tf": 4.47213595499958}}, "df": 3, "k": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1}}}}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "f": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1.4142135623730951}}, "df": 2}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}, "bases": {"root": {"docs": {}, "df": 0}}, "doc": {"root": {"1": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}, "docs": {"dbterd.api": {"tf": 1.7320508075688772}, "dbterd.api.DbtErd": {"tf": 12.489995996796797}, "dbterd.api.DbtErd.__init__": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.params": {"tf": 3.1622776601683795}, "dbterd.api.DbtErd.executor": {"tf": 3}, "dbterd.api.DbtErd.get_erd": {"tf": 6.557438524302}, "dbterd.api.DbtErd.get_model_erd": {"tf": 7.874007874011811}}, "df": 7, "d": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd": {"tf": 3}, "dbterd.api.DbtErd.get_erd": {"tf": 1.7320508075688772}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1.7320508075688772}}, "df": 3}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.params": {"tf": 1}}, "df": 2}}}}}, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd": {"tf": 3.1622776601683795}, "dbterd.api.DbtErd.get_erd": {"tf": 2}, "dbterd.api.DbtErd.get_model_erd": {"tf": 2}}, "df": 3}}, "x": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1.4142135623730951}}, "df": 1, ":": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "y": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}}}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}, "dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 2}}}}}}}}, "o": {"docs": {}, "df": 0, "f": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}}}}}}}}, "a": {"docs": {"dbterd.api.DbtErd": {"tf": 1.7320508075688772}, "dbterd.api.DbtErd.executor": {"tf": 1}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 4, "p": {"docs": {}, "df": 0, "i": {"docs": {"dbterd.api.DbtErd": {"tf": 2}, "dbterd.api.DbtErd.params": {"tf": 1}, "dbterd.api.DbtErd.executor": {"tf": 1}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 5}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}, "g": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}, "y": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"dbterd.api.DbtErd": {"tf": 1.7320508075688772}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 3}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.params": {"tf": 1}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 4}}, "q": {"docs": {}, "df": 0, "n": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 3}}}, "e": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1.7320508075688772}}, "df": 1}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd": {"tf": 2.449489742783178}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 3}, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}}}}}, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 2}}}}}, "w": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.get_erd": {"tf": 1}}, "df": 2}}}}, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd": {"tf": 1.7320508075688772}, "dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 3}}}}}, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}}, "s": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}, "f": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}, "d": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1.7320508075688772}}, "df": 1}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"dbterd.api.DbtErd": {"tf": 2.449489742783178}, "dbterd.api.DbtErd.get_model_erd": {"tf": 2.449489742783178}}, "df": 2, "s": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.params": {"tf": 1}}, "df": 2}}}, "y": {"docs": {"dbterd.api.DbtErd": {"tf": 1.7320508075688772}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}, "dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 2}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}, "h": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.__init__": {"tf": 1}, "dbterd.api.DbtErd.params": {"tf": 1}, "dbterd.api.DbtErd.executor": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 5}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1.4142135623730951}}, "df": 1, "d": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 2}}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1.7320508075688772}}, "df": 2}}}}, "s": {"docs": {"dbterd.api.DbtErd": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.executor": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 3, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}}}}}}, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1}}, "df": 1}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "p": {"docs": {"dbterd.api.DbtErd": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1}}}}}}, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1.4142135623730951}}, "df": 2}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd": {"tf": 2}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1.4142135623730951}}, "df": 2}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1}, "dbterd.api.DbtErd.params": {"tf": 1}}, "df": 2}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}}, "df": 1}}}}}}}, "j": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}}}}, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {"dbterd.api.DbtErd.__init__": {"tf": 1}, "dbterd.api.DbtErd.params": {"tf": 1.4142135623730951}, "dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 3}}, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}}, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1.4142135623730951}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}}}, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"dbterd.api.DbtErd.get_erd": {"tf": 1}, "dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 2}}}}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {"dbterd.api.DbtErd.params": {"tf": 1}}, "df": 1}}}, "b": {"docs": {}, "df": 0, "y": {"docs": {"dbterd.api.DbtErd.executor": {"tf": 1}}, "df": 1}}, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"dbterd.api.DbtErd.get_model_erd": {"tf": 1}}, "df": 1}}}}}}}}, "pipeline": ["trimmer"], "_isPrebuiltIndex": true}; + + // mirrored in build-search-index.js (part 1) + // Also split on html tags. this is a cheap heuristic, but good enough. + elasticlunr.tokenizer.setSeperator(/[\s\-.;&_'"=,()]+|<[^>]*>/); + + let searchIndex; + if (docs._isPrebuiltIndex) { + console.info("using precompiled search index"); + searchIndex = elasticlunr.Index.load(docs); + } else { + console.time("building search index"); + // mirrored in build-search-index.js (part 2) + searchIndex = elasticlunr(function () { + this.pipeline.remove(elasticlunr.stemmer); + this.pipeline.remove(elasticlunr.stopWordFilter); + this.addField("qualname"); + this.addField("fullname"); + this.addField("annotation"); + this.addField("default_value"); + this.addField("signature"); + this.addField("bases"); + this.addField("doc"); + this.setRef("fullname"); + }); + for (let doc of docs) { + searchIndex.addDoc(doc); + } + console.timeEnd("building search index"); + } + + return (term) => searchIndex.search(term, { + fields: { + qualname: {boost: 4}, + fullname: {boost: 2}, + annotation: {boost: 2}, + default_value: {boost: 2}, + signature: {boost: 2}, + bases: {boost: 2}, + doc: {boost: 1}, + }, + expand: true + }); +})(); \ No newline at end of file diff --git a/1.17/assets/css/syntax-highlighting.css b/1.17/assets/css/syntax-highlighting.css new file mode 100644 index 0000000..b0a7fe3 --- /dev/null +++ b/1.17/assets/css/syntax-highlighting.css @@ -0,0 +1,80 @@ +/* monokai color scheme, see pdoc/template/README.md */ +pre { line-height: 125%; } +span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 20px; } +.pdoc-code .hll { background-color: #49483e } +.pdoc-code { background: #272822; color: #f8f8f2 } +.pdoc-code .c { color: #75715e } /* Comment */ +.pdoc-code .err { color: #960050; background-color: #1e0010 } /* Error */ +.pdoc-code .esc { color: #f8f8f2 } /* Escape */ +.pdoc-code .g { color: #f8f8f2 } /* Generic */ +.pdoc-code .k { color: #66d9ef } /* Keyword */ +.pdoc-code .l { color: #ae81ff } /* Literal */ +.pdoc-code .n { color: #f8f8f2 } /* Name */ +.pdoc-code .o { color: #f92672 } /* Operator */ +.pdoc-code .x { color: #f8f8f2 } /* Other */ +.pdoc-code .p { color: #f8f8f2 } /* Punctuation */ +.pdoc-code .ch { color: #75715e } /* Comment.Hashbang */ +.pdoc-code .cm { color: #75715e } /* Comment.Multiline */ +.pdoc-code .cp { color: #75715e } /* Comment.Preproc */ +.pdoc-code .cpf { color: #75715e } /* Comment.PreprocFile */ +.pdoc-code .c1 { color: #75715e } /* Comment.Single */ +.pdoc-code .cs { color: #75715e } /* Comment.Special */ +.pdoc-code .gd { color: #f92672 } /* Generic.Deleted */ +.pdoc-code .ge { color: #f8f8f2; font-style: italic } /* Generic.Emph */ +.pdoc-code .gr { color: #f8f8f2 } /* Generic.Error */ +.pdoc-code .gh { color: #f8f8f2 } /* Generic.Heading */ +.pdoc-code .gi { color: #a6e22e } /* Generic.Inserted */ +.pdoc-code .go { color: #66d9ef } /* Generic.Output */ +.pdoc-code .gp { color: #f92672; font-weight: bold } /* Generic.Prompt */ +.pdoc-code .gs { color: #f8f8f2; font-weight: bold } /* Generic.Strong */ +.pdoc-code .gu { color: #75715e } /* Generic.Subheading */ +.pdoc-code .gt { color: #f8f8f2 } /* Generic.Traceback */ +.pdoc-code .kc { color: #66d9ef } /* Keyword.Constant */ +.pdoc-code .kd { color: #66d9ef } /* Keyword.Declaration */ +.pdoc-code .kn { color: #f92672 } /* Keyword.Namespace */ +.pdoc-code .kp { color: #66d9ef } /* Keyword.Pseudo */ +.pdoc-code .kr { color: #66d9ef } /* Keyword.Reserved */ +.pdoc-code .kt { color: #66d9ef } /* Keyword.Type */ +.pdoc-code .ld { color: #e6db74 } /* Literal.Date */ +.pdoc-code .m { color: #ae81ff } /* Literal.Number */ +.pdoc-code .s { color: #e6db74 } /* Literal.String */ +.pdoc-code .na { color: #a6e22e } /* Name.Attribute */ +.pdoc-code .nb { color: #f8f8f2 } /* Name.Builtin */ +.pdoc-code .nc { color: #a6e22e } /* Name.Class */ +.pdoc-code .no { color: #66d9ef } /* Name.Constant */ +.pdoc-code .nd { color: #a6e22e } /* Name.Decorator */ +.pdoc-code .ni { color: #f8f8f2 } /* Name.Entity */ +.pdoc-code .ne { color: #a6e22e } /* Name.Exception */ +.pdoc-code .nf { color: #a6e22e } /* Name.Function */ +.pdoc-code .nl { color: #f8f8f2 } /* Name.Label */ +.pdoc-code .nn { color: #f8f8f2 } /* Name.Namespace */ +.pdoc-code .nx { color: #a6e22e } /* Name.Other */ +.pdoc-code .py { color: #f8f8f2 } /* Name.Property */ +.pdoc-code .nt { color: #f92672 } /* Name.Tag */ +.pdoc-code .nv { color: #f8f8f2 } /* Name.Variable */ +.pdoc-code .ow { color: #f92672 } /* Operator.Word */ +.pdoc-code .w { color: #f8f8f2 } /* Text.Whitespace */ +.pdoc-code .mb { color: #ae81ff } /* Literal.Number.Bin */ +.pdoc-code .mf { color: #ae81ff } /* Literal.Number.Float */ +.pdoc-code .mh { color: #ae81ff } /* Literal.Number.Hex */ +.pdoc-code .mi { color: #ae81ff } /* Literal.Number.Integer */ +.pdoc-code .mo { color: #ae81ff } /* Literal.Number.Oct */ +.pdoc-code .sa { color: #e6db74 } /* Literal.String.Affix */ +.pdoc-code .sb { color: #e6db74 } /* Literal.String.Backtick */ +.pdoc-code .sc { color: #e6db74 } /* Literal.String.Char */ +.pdoc-code .dl { color: #e6db74 } /* Literal.String.Delimiter */ +.pdoc-code .sd { color: #e6db74 } /* Literal.String.Doc */ +.pdoc-code .s2 { color: #e6db74 } /* Literal.String.Double */ +.pdoc-code .se { color: #ae81ff } /* Literal.String.Escape */ +.pdoc-code .sh { color: #e6db74 } /* Literal.String.Heredoc */ +.pdoc-code .si { color: #e6db74 } /* Literal.String.Interpol */ +.pdoc-code .sx { color: #e6db74 } /* Literal.String.Other */ +.pdoc-code .sr { color: #e6db74 } /* Literal.String.Regex */ +.pdoc-code .s1 { color: #e6db74 } /* Literal.String.Single */ +.pdoc-code .ss { color: #e6db74 } /* Literal.String.Symbol */ +.pdoc-code .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ +.pdoc-code .fm { color: #a6e22e } /* Name.Function.Magic */ +.pdoc-code .vc { color: #f8f8f2 } /* Name.Variable.Class */ +.pdoc-code .vg { color: #f8f8f2 } /* Name.Variable.Global */ +.pdoc-code .vi { color: #f8f8f2 } /* Name.Variable.Instance */ +.pdoc-code .vm { color: #f8f8f2 } /* Name.Variable.Magic */ diff --git a/1.17/assets/css/termynal.css b/1.17/assets/css/termynal.css new file mode 100644 index 0000000..6a3c109 --- /dev/null +++ b/1.17/assets/css/termynal.css @@ -0,0 +1,101 @@ +/** + * termynal.js + * + * @author Ines Montani