-
-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1728 from LORgames/ssurtees/docsCheck
Add action to check for and generate missing documentation
- Loading branch information
Showing
57 changed files
with
1,373 additions
and
10 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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
-- Validate documentation for Premkake APIs. | ||
--- | ||
|
||
local count = 0 | ||
for k,v in pairs(premake.field._loweredList) do | ||
local docfilepath = "../website/docs/" .. k .. ".md" | ||
local exists = os.isfile(docfilepath) | ||
if not exists then | ||
print("Missing documentation file for: ", k) | ||
count = count + 1 | ||
end | ||
end | ||
os.exit(count) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
androidapilevel - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
androidapilevel (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` - needs documentation. | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
androidapilevel (value) | ||
``` | ||
|
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,24 @@ | ||
androidapplibname - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
androidapplibname (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` - needs documentation. | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
androidapplibname (value) | ||
``` | ||
|
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,24 @@ | ||
assemblydebug - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
assemblydebug (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` - needs documentation. | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 16 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
assemblydebug (value) | ||
``` | ||
|
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,29 @@ | ||
boundscheck - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
boundscheck (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` is one of: | ||
|
||
* `Default`: needs documentation | ||
* `Off`: needs documentation | ||
* `On`: needs documentation | ||
* `SafeOnly`: needs documentation | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
boundscheck (value) | ||
``` | ||
|
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,30 @@ | ||
checkaction - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
checkaction (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` is one of: | ||
|
||
* `Default`: needs documentation | ||
* `D`: needs documentation | ||
* `C`: needs documentation | ||
* `Halt`: needs documentation | ||
* `Context`: needs documentation | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 16 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
checkaction (value) | ||
``` | ||
|
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,29 @@ | ||
compilationmodel - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
compilationmodel (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` is one of: | ||
|
||
* `Default`: needs documentation | ||
* `File`: needs documentation | ||
* `Package`: needs documentation | ||
* `Project`: needs documentation | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
compilationmodel (value) | ||
``` | ||
|
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,24 @@ | ||
computetargets - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
computetargets (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` - needs documentation. | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 16 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
computetargets (value) | ||
``` | ||
|
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,24 @@ | ||
conformancemode - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
conformancemode (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` - needs documentation. | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 beta 1 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
conformancemode (value) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
debuggerflavor - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
debuggerflavor (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` is one of: | ||
|
||
* `Local`: needs documentation | ||
* `Remote`: needs documentation | ||
* `WebBrowser`: needs documentation | ||
* `WebService`: needs documentation | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
debuggerflavor (value) | ||
``` | ||
|
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,24 @@ | ||
dependenciesfile - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request. | ||
|
||
```lua | ||
dependenciesfile (value) | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`value` - needs documentation. | ||
|
||
## Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
dependenciesfile (value) | ||
``` | ||
|
Oops, something went wrong.