-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add edoc generation to CI so that it fails if doc have syntax errors #2695
Conversation
8075.1 / Erlang 22.0 / small_tests / 53ed834 8075.2 / Erlang 22.0 / internal_mnesia / 53ed834 8075.4 / Erlang 22.0 / mysql_redis / 53ed834 8075.3 / Erlang 22.0 / odbc_mssql_mnesia / 53ed834 8075.5 / Erlang 22.0 / riak_mnesia / 53ed834 8075.6 / Erlang 22.0 / ldap_mnesia / 53ed834 8075.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / 53ed834 8075.9 / Erlang 21.3 / pgsql_mnesia / 53ed834 |
8076.1 / Erlang 22.0 / small_tests / ab93be9 8076.2 / Erlang 22.0 / internal_mnesia / ab93be9 8076.3 / Erlang 22.0 / odbc_mssql_mnesia / ab93be9 8076.4 / Erlang 22.0 / mysql_redis / ab93be9 8076.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / ab93be9 8076.5 / Erlang 22.0 / riak_mnesia / ab93be9 8076.6 / Erlang 22.0 / ldap_mnesia / ab93be9 8076.9 / Erlang 21.3 / pgsql_mnesia / ab93be9 |
Codecov Report
@@ Coverage Diff @@
## master #2695 +/- ##
==========================================
- Coverage 79.19% 78.77% -0.43%
==========================================
Files 360 360
Lines 30344 30344
==========================================
- Hits 24030 23902 -128
- Misses 6314 6442 +128
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be cool to have dialyzer
and edoc
as two separate jobs on CircleCI, as we have unlimited parallelism already, instead of mixing them, but on the other hand in Travis we don't have such unlimited parallelism. So maybe as two different steps of the same job, so that in Travis they run one after the other and in CircleCi they run at least in separate steps. It's just better organised, but I don't really have a strong opinion there 🤔
Yeah, I wanted to do it as 2 different steps. It's easy to do on CirlceCI, not that easy (I didn't find a quick solution) with travis considering how our tests are started now. |
We sometimes loose knowledge, or even work done for MongooseIM 😢 This PR got lost this way, and this was done in #3333 actually. |
This PR fixes edoc errors and adds its verification to CI.
Some time ago @erszcz made an effort to fix our edoc, so that it works for MongooseIM. It's not been checked in our CI, so since then new errors in doc syntax were introduced.
Proposed changes include:
edoc
configuration in rebar.config so that the output is put inedoc
directory. The defaultdoc
doesn't play nice with our repo since we already have markdown documentation indoc
dir.edoc
generation as part of CI, so that new errors are not introduced