-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update docs, strip assembly info from generic types in docs, remove e…
…rroneous entries for indexers
- Loading branch information
Showing
85 changed files
with
168 additions
and
401 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import glob, re | ||
|
||
SUBSTRINGS_TO_CHANGE = { | ||
re.escape("""### **Item** | ||
```csharp | ||
public PropertyData Item { get; set; } | ||
``` | ||
#### Property Value | ||
[PropertyData](./uassetapi.propertytypes.objects.propertydata.md)<br> | ||
"""): "", | ||
|
||
re.escape("""### **Item** | ||
```csharp | ||
public Export Item { get; set; } | ||
``` | ||
#### Property Value | ||
[Export](./uassetapi.exporttypes.export.md)<br> | ||
"""): "", | ||
|
||
r", [\S]+?, Version=[\d\.]+, Culture=.+?, PublicKeyToken=.+?\]": "]", | ||
|
||
|
||
} | ||
|
||
for file in glob.glob("src/api/*.md"): | ||
dat = "" | ||
with open(file, "r") as f: | ||
dat = f.read() | ||
for entry in SUBSTRINGS_TO_CHANGE: | ||
dat = re.sub(entry, SUBSTRINGS_TO_CHANGE[entry], dat) | ||
with open(file, "w") as f: | ||
f.write(dat) |
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 |
---|---|---|
|
@@ -12,4 +12,5 @@ startdir="$(pwd)" | |
) | ||
mv src/api/index.md . | ||
python correct_summary.py | ||
python correct_pages.py | ||
rm index.md |
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
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
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
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
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
Oops, something went wrong.