Commit Graph

16 Commits

Author SHA1 Message Date
Javi Martín
d00b431f58 Move GraphQL code examples to the GraphQL docs
While this leads to a bit of duplication, since now the same code is in
both the Spanish and English texts, and it makes it harder to actually
run the code, it'll make it easier for people reading the documentation
to find the code, and we get rid of the confusingly-named `doc/` folder.
2024-09-30 12:09:08 +02:00
Javi Martín
a5aa39f6e2 Update GraphQL documentation
We don't use the `config/api.yml` file since commit c984e666f, and the
`.delete("\n").delete(" ")` in the code examples isn't necessary (we
should have probably added it in commit 56e42f209).

We're also changing the responses so there are no references to any
specific city.
2024-09-30 12:09:08 +02:00
cyrillefr
18323a36c3 Add new GraphQL type for milestones
- added the milestone type to be displayed with investments
- the corresponding spec
2024-09-30 11:14:01 +02:00
cyrillefr
5ec6337d47 Add new GraphQL types for budget investments
- added 2 new types
- modified the models to get data through graphQL
- modified the corresponding spec
- also testing that hidden comments do not show up
- modified comments specs bc now it returns comments on budget
  investments
2024-09-30 11:14:01 +02:00
Javi Martín
819485eb80 Re-add and apply MDL rule MD040
We were following it about half of the time and we even added it to our
former `.mdlrc` file. However, for some reason, MDL doesn't detect this
rule when specified in the `.mdlrc` file, so we didn't notice we weren't
following it in many cases.

Now that we're using a style file to configure MDL, we can enable this
rule again and apply it, since now MDL correctly includes it in its
report.
2024-06-21 15:57:52 +02:00
Javi Martín
10e2a9713f Update references to GitHub repositories 2023-07-12 16:03:17 +02:00
Javi Martín
13c641eedc Update application name
Note that, in order to have some consistency, we're always writing
"Consul Democracy", instead of using capital letters sometimes (but not
always), like we did until now.
2023-07-12 15:36:49 +02:00
Javi Martín
025f509400 Don't end headings with semicolons 2023-03-01 17:02:43 +01:00
Javi Martín
43ab93e756 Use one blank line around headings 2023-03-01 17:02:43 +01:00
Javi Martín
74c5589cb1 Fix format typos in graphql guide 2023-03-01 17:02:18 +01:00
Pietro Monticone
80e40d1af4 Update graphql.md 2023-02-22 19:21:37 +01:00
Pietro Monticone
cf9955ba43 Update graphql.md 2023-02-20 12:50:44 +01:00
Pietro Monticone
f62cd1129b Clean docs 2022-11-01 15:20:25 +01:00
taitus
23f6205911 Remove the unnecessary title 2020-02-24 12:18:20 +01:00
taitus
aa7ec7218e Add graphql doc
Copy doc from https://github.com/consul/consul/blob/master/doc/api/
2019-11-28 19:07:53 +01:00
Bertocq
ff65eaac2a Add Oauth and Graphql sections 2017-09-13 14:01:51 +02:00