File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
samtranslator/internal/schema_source Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ include samtranslator/policy_templates_data/policy_templates.json
9
9
include samtranslator/policy_templates_data/schema.json
10
10
include samtranslator/model/connector_profiles/profiles.json
11
11
include samtranslator/internal/data/aws_managed_policies.json
12
+ include samtranslator/internal/schema_source/sam-docs.json
12
13
include README.md
13
14
include THIRD_PARTY_LICENSES
14
15
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ fetch-schema-data:
60
60
61
61
update-schema-data :
62
62
# Parse docs
63
- bin/parse_docs.py .tmp/aws-sam-developer-guide/doc_source > schema_source/docs.json
63
+ bin/parse_docs.py .tmp/aws-sam-developer-guide/doc_source > samtranslator/internal/ schema_source/sam- docs.json
64
64
bin/parse_docs.py --cfn .tmp/aws-cloudformation-user-guide/doc_source > schema_source/cloudformation-docs.json
65
65
66
66
# Add CloudFormation docs to CloudFormation schema
Original file line number Diff line number Diff line change @@ -32,9 +32,8 @@ class PassThroughProp(pydantic.BaseModel):
32
32
33
33
LenientBaseModel = pydantic .BaseModel
34
34
35
- _packagedir = os .path .dirname (os .path .abspath (__package__ ))
36
- _docdir = os .path .join (_packagedir , "schema_source" )
37
- _DOCS = json .loads (Path (_docdir , "docs.json" ).read_bytes ())
35
+ _docdir = os .path .dirname (os .path .abspath (__file__ ))
36
+ _DOCS = json .loads (Path (_docdir , "sam-docs.json" ).read_bytes ())
38
37
39
38
40
39
def get_prop (stem : str ) -> Any :
File renamed without changes.
You can’t perform that action at this time.
0 commit comments