Anna Scholtz
d1c67dab53
Move projects into high-level sql/ folder
2020-10-05 12:59:58 -07:00
Frank Bertsch
efb49cf738
Dryrun stored procedures ( #1367 )
...
* Dryrun stored procedures
* Reformat SQL
* Update tests for reformatted sql
* Fix doc format again
* Let black run past max-line-length
Black does not mandate line-length, it only tries to adhere to it.
For that reason, we can't have flake8 fail at too-long line length.
https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
* Why doesn't pydoctest run locally?
* Apply suggestions from code review
Co-authored-by: Anna Scholtz <anna@scholtzan.net>
Co-authored-by: Anna Scholtz <anna@scholtzan.net>
2020-10-01 16:48:28 -04:00
Frank Bertsch
bcb95bb449
Allow documentation for stored procedures ( #1358 )
...
* Allow documentation for stored procedures
Add docs for `create_events_view` procedure
* Additional instruction on procedure usage
* Fix SQL; fix backticks
* Last backtick fix
* Apply suggestions from review
* Update procedure reference
* Fix other use of backticks
* Add rough schema outline
* Apply suggestions from code review
Co-authored-by: William Lachance <wrlach@gmail.com>
Co-authored-by: William Lachance <wrlach@gmail.com>
2020-09-30 15:53:23 -04:00
Anna Scholtz
7566b7c3f0
Add CLI UDF tests
2020-09-09 14:10:44 -07:00
Anna Scholtz
56a475c572
Fix validating docs
2020-09-02 10:24:38 -07:00
Anna Scholtz
437cf67aa2
Refactor parse_udf
2020-09-02 10:24:38 -07:00
Anna Scholtz
47ff0d88f3
Refactor dry run and update integration tests
2020-08-14 11:08:15 -07:00
Anna Scholtz
e5c8946171
Dry run get referenced tables
2020-08-14 11:08:15 -07:00
asiOvOtus
6a83b6223e
Fix mozfun format in generated docs ( #1212 )
2020-08-07 16:35:44 -04:00
Jeff Klukas
c806d2e730
Inject function names and descriptions into docs ( #1129 )
...
* Inject function names and descriptions into docs
2020-07-07 14:47:03 -04:00
Anna Scholtz
ba001067c7
Add tests for validating doc examples
2020-07-06 13:55:19 -07:00
Anna Scholtz
dfd52b5647
Dry run example SQL files
2020-07-06 13:55:19 -07:00
Anna Scholtz
94768fc14e
Generate SQL of doc examples for dry run
2020-07-06 13:55:19 -07:00
Anna Scholtz
ec4f30137d
Append UDF-level docs to dataset-level docs
2020-07-02 13:37:38 -07:00
Anna Scholtz
ea28f65eb7
Make use of mkdocs autogenerate feature
2020-07-02 13:37:38 -07:00
Anna Scholtz
97ea519348
Refactor
2020-07-02 13:37:38 -07:00
Anna Scholtz
85b078ac2e
Update tests
2020-07-02 13:37:38 -07:00
Anna Scholtz
6bf811137d
Doc support for repo
2020-07-02 13:37:38 -07:00
Anna Scholtz
eefc59f28c
Sort dict in jinja
2020-07-02 13:37:38 -07:00
Anna Scholtz
d802ae3810
Add doc generation tests
2020-07-02 13:37:38 -07:00
Anna Scholtz
b6a7e84339
Generate docs for a single project
2020-07-02 13:37:38 -07:00
Anna Scholtz
88ecf499cd
Generate docs
2020-07-02 13:37:38 -07:00