-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): add structures.svg and contributing guidance
- Loading branch information
1 parent
a2477b2
commit dcadac7
Showing
15 changed files
with
132 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"restructuredtext.preview.name": "sphinx", | ||
"iis.configDir": "" | ||
"iis.configDir": "", | ||
"livePreview.defaultPreviewPath": "/docs/_build/html/index.html" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONTRIBUTING | ||
============ | ||
|
||
How to commit with PullRequest? | ||
------------------------------- | ||
|
||
How to open an issue? | ||
--------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<mxfile> | ||
<diagram id="prtHgNgQTEPvFCAcTncT" name="Page-1"> | ||
<mxGraphModel dx="1223" dy="871" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> | ||
<root> | ||
<mxCell id="0" /> | ||
<mxCell id="1" parent="0" /> | ||
<mxCell id="dNxyNK7c78bLwvsdeMH5-11" value="Orgchart" style="swimlane;html=1;startSize=20;horizontal=1;containerType=tree;glass=0;" parent="1" vertex="1"> | ||
<mxGeometry x="40" y="80" width="710" height="290" as="geometry" /> | ||
</mxCell> | ||
<UserObject label="%name%<br><i style="color: gray">%position%</i><br><a href="mailto:%email%">Email</a>" name="Tessa Miller" position="CFO" location="Office 1" email="[email protected]" placeholders="1" link="https://www.draw.io" id="dNxyNK7c78bLwvsdeMH5-12"> | ||
<mxCell style="label;image=https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-3-128.png;whiteSpace=wrap;html=1;rounded=0;glass=0;treeMoving=1;treeFolding=1;" parent="dNxyNK7c78bLwvsdeMH5-11" vertex="1"> | ||
<mxGeometry x="260" y="50" width="180" height="70" as="geometry" /> | ||
</mxCell> | ||
</UserObject> | ||
<mxCell id="dNxyNK7c78bLwvsdeMH5-13" value="" style="endArrow=blockThin;endFill=1;fontSize=11;edgeStyle=elbowEdgeStyle;elbow=vertical;rounded=0;" parent="dNxyNK7c78bLwvsdeMH5-11" source="dNxyNK7c78bLwvsdeMH5-12" target="dNxyNK7c78bLwvsdeMH5-14" edge="1"> | ||
<mxGeometry relative="1" as="geometry" /> | ||
</mxCell> | ||
<UserObject label="%name%<br><i style="color: gray">%position%</i><br><a href="mailto:%email%">Email</a>" name="Edward Morrison" position="Brand Manager" location="Office 2" email="[email protected]" placeholders="1" link="https://www.draw.io" id="dNxyNK7c78bLwvsdeMH5-14"> | ||
<mxCell style="label;image=https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-10-3-128.png;whiteSpace=wrap;html=1;rounded=0;glass=0;treeFolding=1;treeMoving=1;" parent="dNxyNK7c78bLwvsdeMH5-11" vertex="1"> | ||
<mxGeometry x="40" y="180" width="180" height="80" as="geometry" /> | ||
</mxCell> | ||
</UserObject> | ||
<mxCell id="dNxyNK7c78bLwvsdeMH5-15" value="" style="endArrow=blockThin;endFill=1;fontSize=11;edgeStyle=elbowEdgeStyle;elbow=vertical;rounded=0;" parent="dNxyNK7c78bLwvsdeMH5-11" source="dNxyNK7c78bLwvsdeMH5-12" target="dNxyNK7c78bLwvsdeMH5-16" edge="1"> | ||
<mxGeometry relative="1" as="geometry" /> | ||
</mxCell> | ||
<UserObject label="%name%<br><i style="color: gray">%position%</i><br><a href="mailto:%email%">Email</a>" name="Evan Valet" position="HR Director" location="Office 4" email="[email protected]" placeholders="1" link="https://www.draw.io" id="dNxyNK7c78bLwvsdeMH5-16"> | ||
<mxCell style="label;image=https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-9-2-128.png;whiteSpace=wrap;html=1;rounded=0;glass=0;treeFolding=1;treeMoving=1;" parent="dNxyNK7c78bLwvsdeMH5-11" vertex="1"> | ||
<mxGeometry x="260" y="180" width="180" height="80" as="geometry" /> | ||
</mxCell> | ||
</UserObject> | ||
<mxCell id="dNxyNK7c78bLwvsdeMH5-17" value="" style="endArrow=blockThin;endFill=1;fontSize=11;edgeStyle=elbowEdgeStyle;elbow=vertical;rounded=0;" parent="dNxyNK7c78bLwvsdeMH5-11" source="dNxyNK7c78bLwvsdeMH5-12" target="dNxyNK7c78bLwvsdeMH5-18" edge="1"> | ||
<mxGeometry relative="1" as="geometry" /> | ||
</mxCell> | ||
<UserObject label="%name%<br><i style="color: gray">%position%</i><br><a href="mailto:%email%">Email</a>" name="Alison Donovan" position="System Admin" location="Office 3" email="[email protected]" placeholders="1" link="https://www.draw.io" id="dNxyNK7c78bLwvsdeMH5-18"> | ||
<mxCell style="label;image=https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-2-128.png;whiteSpace=wrap;html=1;rounded=0;glass=0;" parent="dNxyNK7c78bLwvsdeMH5-11" vertex="1"> | ||
<mxGeometry x="490" y="180" width="180" height="80" as="geometry" /> | ||
</mxCell> | ||
</UserObject> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
</mxfile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Do not edit this file with editors other than draw.io --> | ||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | ||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="571px" height="301px" viewBox="-0.5 -0.5 571 301" content="<mxfile host="Electron" modified="2024-06-26T01:01:45.575Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.6.1 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" version="24.6.1" etag="pZS_4PXEmtHSB9fLTIs3" type="device" pages="2"> <diagram id="prtHgNgQTEPvFCAcTncT" name="Page-1"> <mxGraphModel dx="1877" dy="649" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <mxCell id="dNxyNK7c78bLwvsdeMH5-11" value="Orgchart" style="swimlane;html=1;startSize=20;horizontal=1;containerType=tree;glass=0;" parent="1" vertex="1"> <mxGeometry x="-40" y="150" width="710" height="290" as="geometry" /> </mxCell> <UserObject label="%name%&lt;br&gt;&lt;i style=&quot;color: gray&quot;&gt;%position%&lt;/i&gt;&lt;br&gt;&lt;a href=&quot;mailto:%email%&quot;&gt;Email&lt;/a&gt;" name="Tessa Miller" position="CFO" location="Office 1" email="[email protected]" placeholders="1" link="https://www.draw.io" id="dNxyNK7c78bLwvsdeMH5-12"> <mxCell style="label;image=https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-3-128.png;whiteSpace=wrap;html=1;rounded=0;glass=0;treeMoving=1;treeFolding=1;" parent="dNxyNK7c78bLwvsdeMH5-11" vertex="1"> <mxGeometry x="260" y="50" width="180" height="70" as="geometry" /> </mxCell> </UserObject> <mxCell id="dNxyNK7c78bLwvsdeMH5-13" value="" style="endArrow=blockThin;endFill=1;fontSize=11;edgeStyle=elbowEdgeStyle;elbow=vertical;rounded=0;" parent="dNxyNK7c78bLwvsdeMH5-11" source="dNxyNK7c78bLwvsdeMH5-12" target="dNxyNK7c78bLwvsdeMH5-14" edge="1"> <mxGeometry relative="1" as="geometry" /> </mxCell> <UserObject label="%name%&lt;br&gt;&lt;i style=&quot;color: gray&quot;&gt;%position%&lt;/i&gt;&lt;br&gt;&lt;a href=&quot;mailto:%email%&quot;&gt;Email&lt;/a&gt;" name="Edward Morrison" position="Brand Manager" location="Office 2" email="[email protected]" placeholders="1" link="https://www.draw.io" id="dNxyNK7c78bLwvsdeMH5-14"> <mxCell style="label;image=https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-10-3-128.png;whiteSpace=wrap;html=1;rounded=0;glass=0;treeFolding=1;treeMoving=1;" parent="dNxyNK7c78bLwvsdeMH5-11" vertex="1"> <mxGeometry x="40" y="180" width="180" height="80" as="geometry" /> </mxCell> </UserObject> <mxCell id="dNxyNK7c78bLwvsdeMH5-15" value="" style="endArrow=blockThin;endFill=1;fontSize=11;edgeStyle=elbowEdgeStyle;elbow=vertical;rounded=0;" parent="dNxyNK7c78bLwvsdeMH5-11" source="dNxyNK7c78bLwvsdeMH5-12" target="dNxyNK7c78bLwvsdeMH5-16" edge="1"> <mxGeometry relative="1" as="geometry" /> </mxCell> <UserObject label="%name%&lt;br&gt;&lt;i style=&quot;color: gray&quot;&gt;%position%&lt;/i&gt;&lt;br&gt;&lt;a href=&quot;mailto:%email%&quot;&gt;Email&lt;/a&gt;" name="Evan Valet" position="HR Director" location="Office 4" email="[email protected]" placeholders="1" link="https://www.draw.io" id="dNxyNK7c78bLwvsdeMH5-16"> <mxCell style="label;image=https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-9-2-128.png;whiteSpace=wrap;html=1;rounded=0;glass=0;treeFolding=1;treeMoving=1;" parent="dNxyNK7c78bLwvsdeMH5-11" vertex="1"> <mxGeometry x="260" y="180" width="180" height="80" as="geometry" /> </mxCell> </UserObject> <mxCell id="dNxyNK7c78bLwvsdeMH5-17" value="" style="endArrow=blockThin;endFill=1;fontSize=11;edgeStyle=elbowEdgeStyle;elbow=vertical;rounded=0;" parent="dNxyNK7c78bLwvsdeMH5-11" source="dNxyNK7c78bLwvsdeMH5-12" target="dNxyNK7c78bLwvsdeMH5-18" edge="1"> <mxGeometry relative="1" as="geometry" /> </mxCell> <UserObject label="%name%&lt;br&gt;&lt;i style=&quot;color: gray&quot;&gt;%position%&lt;/i&gt;&lt;br&gt;&lt;a href=&quot;mailto:%email%&quot;&gt;Email&lt;/a&gt;" name="Alison Donovan" position="System Admin" location="Office 3" email="[email protected]" placeholders="1" link="https://www.draw.io" id="dNxyNK7c78bLwvsdeMH5-18"> <mxCell style="label;image=https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-2-128.png;whiteSpace=wrap;html=1;rounded=0;glass=0;" parent="dNxyNK7c78bLwvsdeMH5-11" vertex="1"> <mxGeometry x="490" y="180" width="180" height="80" as="geometry" /> </mxCell> </UserObject> </root> </mxGraphModel> </diagram> <diagram name="Page-1 的副本" id="QUBPRxTMLXw4AuhHwJvm"> <mxGraphModel dx="840" dy="519" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> <root> <mxCell id="tazqR-jlQMPDV_MZ-rYC-0" /> <mxCell id="tazqR-jlQMPDV_MZ-rYC-1" parent="tazqR-jlQMPDV_MZ-rYC-0" /> <mxCell id="VPFQTBCB0J-yRa51enEa-0" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="tazqR-jlQMPDV_MZ-rYC-1"> <mxGeometry x="140" y="660" width="570" height="300" as="geometry" /> </mxCell> </root> </mxGraphModel> </diagram> </mxfile> "><defs/><g><g data-cell-id="tazqR-jlQMPDV_MZ-rYC-0"><g data-cell-id="tazqR-jlQMPDV_MZ-rYC-1"><g data-cell-id="VPFQTBCB0J-yRa51enEa-0"><g><rect x="0" y="0" width="570" height="300" fill="rgb(24, 20, 29)" stroke="rgb(240, 240, 240)" pointer-events="all"/></g></g></g></g></g></svg> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
.. include:: ../../../CONTRIBUTING.md | ||
.. include:: ../../../CONTRIBUTING.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
from .LibCore import * | ||
|
||
from . import rules | ||
# from . import |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import dataclasses | ||
from dataclasses import dataclass | ||
from typing import Literal, Optional, Union | ||
|
||
|
||
@dataclass | ||
class Custom(object): | ||
"""Docstring for Custom.""" | ||
property: type | ||
|
||
|
||
class Attribute(Custom): | ||
... | ||
|
||
|
||
class Skill(Custom): | ||
... | ||
|
||
|
||
class Information(Custom): | ||
... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
from . import BaseRule | ||
from typing import Generic, Any, Type | ||
|
||
from abc import ABC | ||
|
||
from . import BaseRule | ||
from ..typing import RulesT | ||
|
||
|
||
class Rules(ABC, Generic[RulesT]): | ||
... | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from typing import TypeVar, Generic, Any, TYPE_CHECKING, Awaitable, Callable, Optional | ||
|
||
if TYPE_CHECKING: | ||
from .rules import Rules | ||
|
||
|
||
RulesT = TypeVar("RulesT", bound="Rules[Any]") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters