Standardize some docs (#1660)

* Rewrite front/back doc summaries

- Use line comments instead of block comments
- Standardize language for each front/backend
- Add reference link for each format
- Minor punctuation changes

* Add documentation for keywords module

* Clarify contents of keywords module in summary

* Refer to modules by their type name

* Add basic summary for valid module

* Adjust EarlyDepthTest and ConservativeDepth docs

* Remove "in" from list

* Adjust wording

* Standardize format of docstrings

* Adjust module links to be consistent with other links

* Add summary for reserved keywords list

* Remove extraneous doc spaces with `cargo fmt`

* Correct spelling of whether and rewrite some lines

* Fill out GLSL backend docs

* Remove unnecessary link targets

* Fill out DOT backend docs

* Change module line comments to block comments

* Remove unnecessary spaces

* Fix mistake during rebasing
This commit is contained in:
Noel Tautges authored and GitHub committed 2022-02-03 13:27:21 -05:00
1 parent f63003cd36
commit 42bf3545c9
36 files changed
+393 -298

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
use std::fs;
use std::{error::Error, fmt, io::Read, path::Path, str::FromStr};
/// Translate shaders to different formats
/// Translate shaders to different formats.
#[derive(argh::FromArgs, Debug, Clone)]
struct Args {
/// bitmask of the ValidationFlags to be used, use 0 to disable validation