Skip to content

Commit 2cfb145

Browse files
paulinebessolesdecidim-botandreslucenaxabiercodePau
authored
Accountability (#183)
* Trigger build * Trigger build * Trigger build * Add Skeleton component This is the blueprint to create new components, with the general sections that others components follow. Use it as a template, by copying the file, changing skeleton/skeletons to component name, filling out the fields, etc. * Add .node-version and .tool-versions for asdf and others node versions managers * Remove HEAD reference in antora-playbook.yml * Fix edit URL link * Fix edit URL link * Fix edit URL link * Add v0.25 release * Add navigation for Features subsection in Admin manual * Add Badges documentation in Features subsection * Add Comments documentation in Features subsection * Add Conversations documentation in Features subsection * Add Embed documentation in Features subsection * Add Endorsements documentation in Features subsection * Add Fingerprint documentation in Features subsection * Add Follows documentation in Features subsection * Add Notifications documentation in Features subsection * Add Versions documentation in Features subsection * Add Metrics documentation in Features subsection * Add My Account documentation in Features subsection * Update Decidim Association grants at 2021 * Trigger build * Add Machine Translations to menu * Trigger build * Add Social Contract translations to Spanish and Catalan * Move Whitepaper to a subsection in Understand * Fix URLs in Social Contract (Spanish and Catalan translations) * Add form actions in comments * Add URL and HTML in comments' doc * Add screenshots in comment form feature page * Trigger build * Add anidation levels for Comments doc * Trigger build * Trigger build * Improve 'develop' guide navigation (#70) * Trigger build * Update decidim-a-brief-overview.adoc includes explicit reference to source * Update english.adoc added white paper * Update english.adoc * Update spanish.adoc adds recerca paper * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Bump dependencies * Drop `bin/build` script and update README with the changes * Add support for mathjax/latex math syntax * Trigger build * Add Reminders section in navigation sidebar (#82) * Fix Netlify's deploy preview * Trigger build * Trigger build * Trigger build * Update what-is-decidim.adoc (#74) * Update components.adoc (#81) * Trigger build * Update participants.adoc (#80) * Trigger build * Improves Contributing section (#85) * Trigger build * Trigger build * Fix installation instructions (#86) Co-authored-by: Andrés Pereira de Lucena <[email protected]> * Trigger build * Add levels in Badges page (#89) * Trigger build * Trigger build * Clarify scopes visibility for spaces and components * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Clarify proposals' answers publication flow (#91) * Bump antora from 2.3 to 3.0 (#92) * Bump antora from 2.3 to 3.0 * Update antora-lunr to lunr-extension * Bump asciidoctor-kroki to 0.15.4 * Bump asciidoctor-mathjax to 0.0.5 * Fix build script for Netlify * Fix some errors from Antora 3.0 update (#96) * Add missing image in page_admins.adoc * Remove unused images * Fix 'level 0 sections can only be used when doctype is book' * Remove incorrect note in homepage.adoc * Add missing image in governance.adoc * Add homepage content blocks missing images * Add placeholder images for component skeleton page * Fix names and xrefs on navigation * Remove index pages from some sections * Remove legacy page: 'How to access the administrator menu' * Fix 'target of include not found' errors * Fix 'target of xref not found' errors * Don't comment asciidoctor extensions in antora configuration * Add missing image in decidim-a-brief-overview.adoc * Remove empty lines * Remove duplicated heading * Add '[CI] Antora' workflow (#98) * Add missing run command in '[CI] Antora' workflow * Add `npm test` script * Use bash shell for Antora CI * Add introductory paragraph to homepage (#99) * Extract CI script to bin/test * Use `create_admin` task for system admin (#102) * Use `create_admin` task for system admin * Remove unfinished line * Fix wrong instruction * Fix wording * Add link to Logic page in navigation (#100) * Change navbar; add logic to customize menu * Change position of link as per reviewer's request * Fix broken links to fix the build (#104) * Fix typo in the follows documentation (#103) * Ensure the CI test error log is not empty (#106) * Make sure the error log is not empty * Remove extra newline from the end of the file * Add ActiveStorage link to navigation (#107) * Add SMS service page link in navigation (#101) * Add develop index to navigation (#108) * Add a link to the data consent page in the main navigation (#109) * Add multiple branches configuation (#110) * Add multiple branches configuation * Add start_page with version v0.27 * Remove unused YAML anchor * Add current working directory on Antora configuration * Update Code of Conduct to same version as decidim * Extract Netlify redirections to file * Remove build commands from Netlify configuration file I need to troubleshoot a bad build and for that I need to iterate different configurations from the Netlify UI, instead of making lots of commits chaning this configuration file. * Bump node from 14.9.0 to 16.14.2 * Remove deploy-preview deprecated onliner * Simplify antora configuation for troubleshooting bad deploy * Simplify antora configuation for troubleshooting bad deploy * Enable one release in Antora configuration * Enable decidim repository in Antora configuration * Enable develop branch in Antora configuration * Enable decidim-bulletin-board repository in Antora configuration * Enable develop branch for decidim repository in Antora configuration * Use this same repository in Antora configuration * Add documentation repository URL on Antora configuration * Bump npm packages versions * Add Nelify redirections for old URLs * Remove static files for antora-lunr-extension This is no longer needed on the latest release. * Improve Netlify pretty URLs on first pages * Add missing Nelify redirections for old URLs * Add missing Nelify redirections for old URLs (part II) * Add missing Nelify redirections for old URLs (part III) * Update incorrect link (#113) * Change the commit user for the trigger build command (#114) * Add the personal access token configuration to the trigger build action (#115) * Trigger build * Trigger build * Update the checkout action of trigger build to v3 (#116) * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Correct the link to the Decidim license (#120) * Enable the CI at the `develop` branch (#118) * Use `node-version-file` configuration for the CI (#119) * Update the Antora cache during deploys (#117) * Update dependencies (#121) * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Add playbook changer script * Add crowdin support for translations (#134) * Move docs to its own folder * Add crowdin configuration * Fix local development and preview (#133) * Add notice about the different versions in the homepage * Change antora configuration so it works locally * Trigger build * Trigger build * Add playbook changer script * Undo "Change antora configuration so it works locally" * Add script for changing the playbook references according to the environment * Fix reference to 'Releases' page * Add editor configuration * Debug with console.log * Add support to deploy preview other releases --------- Co-authored-by: decidim-bot <[email protected]> * Trigger build * Refactor and cleanup of bin/playbook-changer.js script Bring improvements from v0.27 branch: * Script for playbook changer v2 * Refactor using constants for describing conditions and values * Improve format of debugging with console.log * Add jsdoc for writeToFile function * Fix bug when there head reference doesn't start with 'v0.2' * Add environment variables for debugging * Add explicit head and base reference for Production environment * Ádd metadata output for debugging * Improve environment debugging and refacotr production check * Fix bug on Production environment * New Crowdin updates (#136) * New translations help_sections.adoc (Spanish) * New translations homepage.adoc (Spanish) * New translations index.adoc (Spanish) * New translations information-pages.adoc (Spanish) * New translations initiatives_initializer.adoc (Spanish) * New translations newsletters.adoc (Spanish) * New translations pages.adoc (Spanish) * New translations participants.adoc (Spanish) * New translations admins.adoc (Spanish) * New translations authorizations.adoc (Spanish) * New translations census.adoc (Spanish) * New translations code_postal_letter.adoc (Spanish) * New translations identity_documents.adoc (Spanish) * New translations groups.adoc (Spanish) * New translations impersonations.adoc (Spanish) * New translations participants.adoc (Spanish) * New translations reported_users.adoc (Spanish) * New translations verifications_conflicts.adoc (Spanish) * New translations scopes.adoc (Spanish) * New translations spaces.adoc (Spanish) * New translations assemblies.adoc (Spanish) * New translations admins.adoc (Spanish) * New translations attachments.adoc (Spanish) * New translations categories.adoc (Spanish) * New translations components.adoc (Spanish) * New translations members.adoc (Spanish) * New translations moderations.adoc (Spanish) * New translations private_participants.adoc (Spanish) * New translations conferences.adoc (Spanish) * New translations admins.adoc (Spanish) * New translations attachments.adoc (Spanish) * New translations categories.adoc (Spanish) * New translations components.adoc (Spanish) * New translations media_links.adoc (Spanish) * New translations moderations.adoc (Spanish) * New translations partners.adoc (Spanish) * New translations registrations.adoc (Spanish) * New translations certificates.adoc (Spanish) * New translations invites.adoc (Spanish) * New translations types.adoc (Spanish) * New translations users.adoc (Spanish) * New translations speakers.adoc (Spanish) * New translations consultations.adoc (Spanish) * New translations initiatives.adoc (Spanish) * New translations processes.adoc (Spanish) * New translations admins.adoc (Spanish) * New translations attachments.adoc (Spanish) * New translations categories.adoc (Spanish) * New translations components.adoc (Spanish) * New translations groups.adoc (Spanish) * New translations moderations.adoc (Spanish) * New translations phases.adoc (Spanish) * New translations private_participants.adoc (Spanish) * New translations votings.adoc (Spanish) * New translations system.adoc (Spanish) * New translations components_list.adoc (Spanish) * New translations deprecated.adoc (Spanish) * New translations development.adoc (Spanish) * New translations legacy.adoc (Spanish) * New translations page_admins.adoc (Spanish) * New translations page_attachments.adoc (Spanish) * New translations page_categories.adoc (Spanish) * New translations page_components.adoc (Spanish) * New translations page_moderations.adoc (Spanish) * New translations page_private_participants.adoc (Spanish) * New translations under-construction.adoc (Spanish) * New translations documentation.adoc (Spanish) * New translations governance.adoc (Spanish) * New translations index.adoc (Spanish) * New translations translations.adoc (Spanish) * New translations components.adoc (Spanish) * New translations general-description.adoc (Spanish) * New translations general-features.adoc (Spanish) * New translations participants.adoc (Spanish) * New translations participatory-spaces.adoc (Spanish) * New translations catalan.adoc (Spanish) * New translations english.adoc (Spanish) * New translations french.adoc (Spanish) * New translations german.adoc (Spanish) * New translations italian.adoc (Spanish) * New translations spanish.adoc (Spanish) * New translations index.adoc (Spanish) * New translations about.adoc (Spanish) * New translations background.adoc (Spanish) * New translations social-contract-ca.adoc (Spanish) * New translations social-contract-es.adoc (Spanish) * New translations social-contract.adoc (Spanish) * New translations decidim-a-brief-overview.adoc (Spanish) * New translations what-is-decidim.adoc (Spanish) * New translations why-decidim.adoc (Spanish) * New translations nav.adoc (Catalan) * New translations index.adoc (Catalan) * New translations appearance.adoc (Catalan) * New translations areas.adoc (Catalan) * New translations components.adoc (Catalan) * New translations accountability.adoc (Catalan) * New translations blog.adoc (Catalan) * New translations budgets.adoc (Catalan) * New translations debates.adoc (Catalan) * New translations elections.adoc (Catalan) * New translations meetings.adoc (Catalan) * New translations agenda.adoc (Catalan) * New translations close.adoc (Catalan) * New translations polls.adoc (Catalan) * New translations registrations.adoc (Catalan) * New translations pages.adoc (Catalan) * New translations proposals.adoc (Catalan) * New translations amendments.adoc (Catalan) * New translations answers.adoc (Catalan) * New translations collaborative_drafts.adoc (Catalan) * New translations participatory_texts.adoc (Catalan) * New translations skeleton.adoc (Catalan) * New translations sortitions.adoc (Catalan) * New translations surveys.adoc (Catalan) * New translations configuration.adoc (Catalan) * New translations dashboard.adoc (Catalan) * New translations badges.adoc (Catalan) * New translations comments.adoc (Catalan) * New translations conversations.adoc (Catalan) * New translations embed.adoc (Catalan) * New translations endorsements.adoc (Catalan) * New translations fingerprint.adoc (Catalan) * New translations follows.adoc (Catalan) * New translations hashtags.adoc (Catalan) * New translations metrics.adoc (Catalan) * New translations my_account.adoc (Catalan) * New translations account.adoc (Catalan) * New translations authorizations.adoc (Catalan) * New translations delete_my_account.adoc (Catalan) * New translations groups.adoc (Catalan) * New translations my_data.adoc (Catalan) * New translations my_interests.adoc (Catalan) * New translations notifications_settings.adoc (Catalan) * New translations my_public_profile.adoc (Catalan) * New translations badges.adoc (Catalan) * New translations followers.adoc (Catalan) * New translations follows.adoc (Catalan) * New translations groups.adoc (Catalan) * New translations timeline.adoc (Catalan) * New translations tmp_notifications.adoc (Catalan) * New translations notifications.adoc (Catalan) * New translations search.adoc (Catalan) * New translations share.adoc (Catalan) * New translations statistics.adoc (Catalan) * New translations versions.adoc (Catalan) * New translations global_moderations.adoc (Catalan) * New translations help_sections.adoc (Catalan) * New translations homepage.adoc (Catalan) * New translations index.adoc (Catalan) * New translations information-pages.adoc (Catalan) * New translations initiatives_initializer.adoc (Catalan) * New translations newsletters.adoc (Catalan) * New translations pages.adoc (Catalan) * New translations participants.adoc (Catalan) * New translations admins.adoc (Catalan) * New translations authorizations.adoc (Catalan) * New translations census.adoc (Catalan) * New translations code_postal_letter.adoc (Catalan) * New translations identity_documents.adoc (Catalan) * New translations groups.adoc (Catalan) * New translations impersonations.adoc (Catalan) * New translations participants.adoc (Catalan) * New translations reported_users.adoc (Catalan) * New translations verifications_conflicts.adoc (Catalan) * New translations scopes.adoc (Catalan) * New translations spaces.adoc (Catalan) * New translations assemblies.adoc (Catalan) * New translations admins.adoc (Catalan) * New translations attachments.adoc (Catalan) * New translations categories.adoc (Catalan) * New translations components.adoc (Catalan) * New translations members.adoc (Catalan) * New translations moderations.adoc (Catalan) * New translations private_participants.adoc (Catalan) * New translations conferences.adoc (Catalan) * New translations admins.adoc (Catalan) * New translations attachments.adoc (Catalan) * New translations categories.adoc (Catalan) * New translations components.adoc (Catalan) * New translations media_links.adoc (Catalan) * New translations moderations.adoc (Catalan) * New translations partners.adoc (Catalan) * New translations registrations.adoc (Catalan) * New translations certificates.adoc (Catalan) * New translations invites.adoc (Catalan) * New translations types.adoc (Catalan) * New translations users.adoc (Catalan) * New translations speakers.adoc (Catalan) * New translations consultations.adoc (Catalan) * New translations initiatives.adoc (Catalan) * New translations processes.adoc (Catalan) * New translations admins.adoc (Catalan) * New translations attachments.adoc (Catalan) * New translations categories.adoc (Catalan) * New translations components.adoc (Catalan) * New translations groups.adoc (Catalan) * New translations moderations.adoc (Catalan) * New translations phases.adoc (Catalan) * New translations private_participants.adoc (Catalan) * New translations votings.adoc (Catalan) * New translations system.adoc (Catalan) * New translations components_list.adoc (Catalan) * New translations deprecated.adoc (Catalan) * New translations development.adoc (Catalan) * New translations legacy.adoc (Catalan) * New translations page_admins.adoc (Catalan) * New translations page_attachments.adoc (Catalan) * New translations page_categories.adoc (Catalan) * New translations page_components.adoc (Catalan) * New translations page_moderations.adoc (Catalan) * New translations page_private_participants.adoc (Catalan) * New translations under-construction.adoc (Catalan) * New translations documentation.adoc (Catalan) * New translations governance.adoc (Catalan) * New translations index.adoc (Catalan) * New translations translations.adoc (Catalan) * New translations components.adoc (Catalan) * New translations general-description.adoc (Catalan) * New translations general-features.adoc (Catalan) * New translations participants.adoc (Catalan) * New translations participatory-spaces.adoc (Catalan) * New translations catalan.adoc (Catalan) * New translations english.adoc (Catalan) * New translations french.adoc (Catalan) * New translations german.adoc (Catalan) * New translations italian.adoc (Catalan) * New translations spanish.adoc (Catalan) * New translations index.adoc (Catalan) * New translations about.adoc (Catalan) * New translations background.adoc (Catalan) * New translations social-contract-ca.adoc (Catalan) * New translations social-contract-es.adoc (Catalan) * New translations social-contract.adoc (Catalan) * New translations decidim-a-brief-overview.adoc (Catalan) * New translations what-is-decidim.adoc (Catalan) * New translations why-decidim.adoc (Catalan) * New translations nav.adoc (Portuguese, Brazilian) * New translations index.adoc (Portuguese, Brazilian) * New translations nav.adoc (Spanish) * New translations index.adoc (Spanish) * New translations nav.adoc (Catalan) * New translations index.adoc (Catalan) * New translations nav.adoc (Spanish) * New translations nav.adoc (Catalan) * New translations nav.adoc (Portuguese, Brazilian) * New translations index.adoc (Spanish) * New translations index.adoc (Catalan) * New translations index.adoc (Portuguese, Brazilian) * New translations agenda.adoc (Portuguese, Brazilian) * New translations amendments.adoc (Portuguese, Brazilian) * Add v0.26 and v0.27 releases to Releases page (#142) * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Fix typo in accountability doc (#150) * Trigger build * Trigger build * Add "Custom classes" section in develop documentation (#149) * Add class documentation * Update docs/en/modules/ROOT/nav.adoc Co-authored-by: Andrés Pereira de Lucena <[email protected]> --------- Co-authored-by: Andrés Pereira de Lucena <[email protected]> * Trigger build * Enable Portuguese (pt) language * Bump to v0.28.0 final version * Remove test for portuguese language from antora configuration * Add v0.28 in releases page * Fix title for the "Releases notes" page * Bump to v0.28.0 version in announcement * Add Maintainers sections in navigation * Trigger build * Add docs for process types (#138) * Add docs for process types * Add to main nav * Fix images path after merge * Doc was in the wrong location. * Fix syntax * Fix incorrect reference * Maybe it needs the module name? * Apply suggestions from code review Co-authored-by: Andrés Pereira de Lucena <[email protected]> --------- Co-authored-by: Ruth Cheesley <[email protected]> Co-authored-by: Ruth Cheesley <[email protected]> Co-authored-by: Ruth Cheesley <[email protected]> * Trigger build * Add "Notifications list" (#146) * Update notifications.adoc * Update docs/en/modules/admin/pages/features/notifications.adoc Co-authored-by: Ruth Cheesley <[email protected]> * Apply suggestions from code review Co-authored-by: Ruth Cheesley <[email protected]> * Update notifications.adoc --------- Co-authored-by: Ruth Cheesley <[email protected]> * Fix details in Notifications list (#154) * Fix columns on plain text * Remove first column with version * Change column order between Action and Component * Add Component name in all the missing cells * Rename Component to Feature in the table header * Change columns' sizes * Convert clarifications of 'if enabled' to footnotes * Fix columns on plain text * Reuse footnotes * Fix columns on plain text * Fix description of the table * Change 'Affected user' column order and add clarification * Fix grammar Suggested on code review Co-authored-by: Ruth Cheesley <[email protected]> --------- Co-authored-by: Ruth Cheesley <[email protected]> * Trigger build * Trigger build * Implement vale linter (#147) * Implement Vale linter with Alex * Missed a file from Alex's styles * Add Google style guide * undo changes to doc * Add a file to demonstrate Reviewdog * Better name for GH action * Rename the GH action * Only consider base language Co-authored-by: Andrés Pereira de Lucena <[email protected]> * Reverse rules on contractions --------- Co-authored-by: Andrés Pereira de Lucena <[email protected]> * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Trigger build * Remove gender references (#151) * Implement Vale linter with Alex * Missed a file from Alex's styles * Add Google style guide * undo changes to doc * Add a file to demonstrate Reviewdog * Better name for GH action * Rename the GH action * Only consider base language Co-authored-by: Andrés Pereira de Lucena <[email protected]> * Reverse rules on contractions * Fix references to she * References to her --------- Co-authored-by: Andrés Pereira de Lucena <[email protected]> * Trigger build * Trigger build * Trigger build * Add new version v0.29 to antora configuration * Remove deprecated modules: consultations, elections, and votings * Bump v0.29 release references * Fix typo in groups page (#159) * Fix the Vale linter (#162) * Delete deprecated articles (#164) * Delete deprecated articles * Delete references to deleted pages * Delete System dashboard article and images * Fix asciidoctor errors * Keep index.adoc file --------- Co-authored-by: paulinebessoles <[email protected]> * First steps (#172) * Create first steps page and update screenshots * Fix typo for review Co-authored-by: Carolina Romero <[email protected]> * Update highlight box color for screenshot --------- Co-authored-by: paulinebessoles <[email protected]> Co-authored-by: Carolina Romero <[email protected]> * Participants (#170) * Update participants parent article * Update Administrators article and screens * Update user groups article and screenshots * Add user group frontend screenshot * Update Participants page and screenshots * Update impersonations article and screenshots * Update verifications conflict page * Update authorizations article * Update Identity document article * Update Code postal auth article * Update Census article * Fix linter issues * Fix lint errors * Update accepted vocabulary * Revert changes on my public profile page * Update accepted terms and empty line * Implement review feedbacks --------- Co-authored-by: paulinebessoles <[email protected]> * Global moderations (#169) Co-authored-by: paulinebessoles <[email protected]> * Pages and topics (#166) Co-authored-by: Carolina Romero <[email protected]> Co-authored-by: paulinebessoles <[email protected]> * Admin (#171) Co-authored-by: paulinebessoles <[email protected]> * Templates (#173) Co-authored-by: Carolina Romero <[email protected]> Co-authored-by: paulinebessoles <[email protected]> * Features (#175) * Re-organize the features section * Update search article and screenshots * Delete public profile sub articles * Delete profile sub articles and update profile article * Create dedicated article for user group managament in frontend * Update groups page and screenshots * Update navigation * Update my account article and detele sub articles * Update notifications article and screenshots * Update accepted terms * Update participant actions parent page * Update fingerprint article and screenshots * Update statisitcs article and screenshots * Update versions article and screenshots * Update transparency parent page * Fix redirections errors * Update share article * Update badges article * Update follows article and screenshots * Update endorsements article and screenshots * Fix broken links and screenshots * Update conversations article, update screenshots and harmonize access from footer * Update comments article and screenshots * Improve comments documentation * Improve comments documentation * Change article order * Update newsletter article and screenshots * Update social feature page * Fix error in newsletters image path * Fix lint errors and incorporate hashtag page in nav * Fix linter error * Update group profile --------- Co-authored-by: paulinebessoles <[email protected]> * Partials (#179) * Create landing page partial * Add assembly landing page and include partial * Rename screenshots and add assemblies specific content blocks * Update component partials * Update categories partial * Update attachment partial * Update space admins partial * Fix folder screenshot * Update private participants partial * Update moderations partial * Fix some vale warnings * Add component explanation --------- Co-authored-by: paulinebessoles <[email protected]> --------- Co-authored-by: decidim-bot <[email protected]> Co-authored-by: Andrés Pereira de Lucena <[email protected]> Co-authored-by: Andrés Pereira de Lucena <[email protected]> Co-authored-by: Xabier E. Barandiaran <[email protected]> Co-authored-by: Pau&company <[email protected]> Co-authored-by: Ivan Vergés <[email protected]> Co-authored-by: sinaeftekhar <[email protected]> Co-authored-by: Antti Hukkanen <[email protected]> Co-authored-by: Ruth Cheesley <[email protected]> Co-authored-by: ahukkanen <[email protected]> Co-authored-by: Alexandru Emil Lupu <[email protected]> Co-authored-by: Ruth Cheesley <[email protected]> Co-authored-by: Ruth Cheesley <[email protected]> Co-authored-by: paulinebessoles <[email protected]> Co-authored-by: Carolina Romero <[email protected]>
1 parent efa1e29 commit 2cfb145

File tree

1,382 files changed

+38023
-5569
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,382 files changed

+38023
-5569
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.github/styles/Google/AMPM.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extends: existence
2+
message: "Use 'AM' or 'PM' (preceded by a space)."
3+
link: 'https://developers.google.com/style/word-list'
4+
level: error
5+
nonword: true
6+
tokens:
7+
- '\d{1,2}[AP]M'
8+
- '\d{1,2} ?[ap]m'
9+
- '\d{1,2} ?[aApP]\.[mM]\.'

.github/styles/Google/Acronyms.yml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
extends: conditional
2+
message: "Spell out '%s', if it's unfamiliar to the audience."
3+
link: 'https://developers.google.com/style/abbreviations'
4+
level: suggestion
5+
ignorecase: false
6+
# Ensures that the existence of 'first' implies the existence of 'second'.
7+
first: '\b([A-Z]{3,5})\b'
8+
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
9+
# ... with the exception of these:
10+
exceptions:
11+
- API
12+
- ASP
13+
- CLI
14+
- CPU
15+
- CSS
16+
- CSV
17+
- DEBUG
18+
- DOM
19+
- DPI
20+
- FAQ
21+
- GCC
22+
- GDB
23+
- GET
24+
- GPU
25+
- GTK
26+
- GUI
27+
- HTML
28+
- HTTP
29+
- HTTPS
30+
- IDE
31+
- JAR
32+
- JSON
33+
- JSX
34+
- LESS
35+
- LLDB
36+
- NET
37+
- NOTE
38+
- NVDA
39+
- OSS
40+
- PATH
41+
- PDF
42+
- PHP
43+
- POST
44+
- RAM
45+
- REPL
46+
- RSA
47+
- SCM
48+
- SCSS
49+
- SDK
50+
- SQL
51+
- SSH
52+
- SSL
53+
- SVG
54+
- TBD
55+
- TCP
56+
- TODO
57+
- URI
58+
- URL
59+
- USB
60+
- UTF
61+
- XML
62+
- XSS
63+
- YAML
64+
- ZIP

.github/styles/Google/Colons.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
extends: existence
2+
message: "'%s' should be in lowercase."
3+
link: 'https://developers.google.com/style/colons'
4+
nonword: true
5+
level: warning
6+
scope: sentence
7+
tokens:
8+
- ':\s[A-Z]'
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
extends: substitution
2+
message: "Use '%s' instead of '%s'."
3+
link: 'https://developers.google.com/style/contractions'
4+
level: suggestion
5+
ignorecase: true
6+
action:
7+
name: replace
8+
swap:
9+
# Decidim reverses this rule, and do not use contractions, so this is tweaked accordingly.
10+
aren't: are not
11+
can't: cannot
12+
couldn't: could not
13+
didn't: did not
14+
don't: do not
15+
doesn't: does not
16+
hasn't: has not
17+
haven't: have not
18+
how's: how is
19+
isn't: is not
20+
it's: it is
21+
shouldn't: should not
22+
that's: that is
23+
they're: they are
24+
wasn't: was not
25+
we're: we are
26+
we've: we have
27+
weren't: were not
28+
what's: what is
29+
when's: when is
30+
where's: where is
31+
won't: will not

.github/styles/Google/DateFormat.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extends: existence
2+
message: "Use 'July 31, 2016' format, not '%s'."
3+
link: 'https://developers.google.com/style/dates-times'
4+
ignorecase: true
5+
level: error
6+
nonword: true
7+
tokens:
8+
- '\d{1,2}(?:\.|/)\d{1,2}(?:\.|/)\d{4}'
9+
- '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}'

.github/styles/Google/Ellipses.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extends: existence
2+
message: "In general, don't use an ellipsis."
3+
link: 'https://developers.google.com/style/ellipses'
4+
nonword: true
5+
level: warning
6+
action:
7+
name: remove
8+
tokens:
9+
- '\.\.\.'

.github/styles/Google/EmDash.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
extends: existence
2+
message: "Don't put a space before or after a dash."
3+
link: 'https://developers.google.com/style/dashes'
4+
nonword: true
5+
level: error
6+
action:
7+
name: edit
8+
params:
9+
- remove
10+
- ' '
11+
tokens:
12+
- '\s[—–]\s'

.github/styles/Google/EnDash.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
extends: existence
2+
message: "Use an em dash ('—') instead of '–'."
3+
link: 'https://developers.google.com/style/dashes'
4+
nonword: true
5+
level: error
6+
action:
7+
name: edit
8+
params:
9+
- replace
10+
- '-'
11+
- ''
12+
tokens:
13+
- ''

.github/styles/Google/Exclamation.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extends: existence
2+
message: "Don't use exclamation points in text."
3+
link: 'https://developers.google.com/style/exclamation-points'
4+
nonword: true
5+
level: error
6+
action:
7+
name: remove
8+
tokens:
9+
- '\w+!(?:\s|$)'

.github/styles/Google/FirstPerson.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
extends: existence
2+
message: "Avoid first-person pronouns such as '%s'."
3+
link: 'https://developers.google.com/style/pronouns#personal-pronouns'
4+
ignorecase: true
5+
level: warning
6+
nonword: true
7+
tokens:
8+
- (?:^|\s)I\s
9+
- (?:^|\s)I,\s
10+
- \bI'm\b
11+
- \bme\b
12+
- \bmy\b
13+
- \bmine\b

.github/styles/Google/Gender.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extends: existence
2+
message: "Don't use '%s' as a gender-neutral pronoun."
3+
link: 'https://developers.google.com/style/pronouns#gender-neutral-pronouns'
4+
level: error
5+
ignorecase: true
6+
tokens:
7+
- he/she
8+
- s/he
9+
- \(s\)he

.github/styles/Google/GenderBias.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
extends: substitution
2+
message: "Consider using '%s' instead of '%s'."
3+
link: 'https://developers.google.com/style/inclusive-documentation'
4+
ignorecase: true
5+
level: error
6+
action:
7+
name: replace
8+
swap:
9+
(?:alumna|alumnus): graduate
10+
(?:alumnae|alumni): graduates
11+
air(?:m[ae]n|wom[ae]n): pilot(s)
12+
anchor(?:m[ae]n|wom[ae]n): anchor(s)
13+
authoress: author
14+
camera(?:m[ae]n|wom[ae]n): camera operator(s)
15+
chair(?:m[ae]n|wom[ae]n): chair(s)
16+
congress(?:m[ae]n|wom[ae]n): member(s) of congress
17+
door(?:m[ae]|wom[ae]n): concierge(s)
18+
draft(?:m[ae]n|wom[ae]n): drafter(s)
19+
fire(?:m[ae]n|wom[ae]n): firefighter(s)
20+
fisher(?:m[ae]n|wom[ae]n): fisher(s)
21+
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
22+
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
23+
lady lawyer: lawyer
24+
ladylike: courteous
25+
landlord: building manager
26+
mail(?:m[ae]n|wom[ae]n): mail carriers
27+
man and wife: husband and wife
28+
man enough: strong enough
29+
mankind: human kind
30+
manmade: manufactured
31+
manpower: personnel
32+
men and girls: men and women
33+
middle(?:m[ae]n|wom[ae]n): intermediary
34+
news(?:m[ae]n|wom[ae]n): journalist(s)
35+
ombuds(?:man|woman): ombuds
36+
oneupmanship: upstaging
37+
poetess: poet
38+
police(?:m[ae]n|wom[ae]n): police officer(s)
39+
repair(?:m[ae]n|wom[ae]n): technician(s)
40+
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
41+
service(?:m[ae]n|wom[ae]n): soldier(s)
42+
steward(?:ess)?: flight attendant
43+
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
44+
waitress: waiter
45+
woman doctor: doctor
46+
woman scientist[s]?: scientist(s)
47+
work(?:m[ae]n|wom[ae]n): worker(s)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
extends: existence
2+
message: "Don't put a period at the end of a heading."
3+
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
4+
nonword: true
5+
level: warning
6+
scope: heading
7+
action:
8+
name: edit
9+
params:
10+
- remove
11+
- '.'
12+
tokens:
13+
- '[a-z0-9][.]\s*$'

.github/styles/Google/Headings.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
extends: capitalization
2+
message: "'%s' should use sentence-style capitalization."
3+
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
4+
level: warning
5+
scope: heading
6+
match: $sentence
7+
indicators:
8+
- ':'
9+
exceptions:
10+
- Azure
11+
- CLI
12+
- Code
13+
- Cosmos
14+
- Docker
15+
- Emmet
16+
- gRPC
17+
- I
18+
- Kubernetes
19+
- Linux
20+
- macOS
21+
- Marketplace
22+
- MongoDB
23+
- REPL
24+
- Studio
25+
- TypeScript
26+
- URLs
27+
- Visual
28+
- VS
29+
- Windows

.github/styles/Google/Latin.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
extends: substitution
2+
message: "Use '%s' instead of '%s'."
3+
link: 'https://developers.google.com/style/abbreviations'
4+
ignorecase: true
5+
level: error
6+
nonword: true
7+
action:
8+
name: replace
9+
swap:
10+
'\b(?:eg|e\.g\.)(?=[\s,;])': for example
11+
'\b(?:ie|i\.e\.)(?=[\s,;])': that is

.github/styles/Google/LyHyphens.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
extends: existence
2+
message: "'%s' doesn't need a hyphen."
3+
link: 'https://developers.google.com/style/hyphens'
4+
level: error
5+
ignorecase: false
6+
nonword: true
7+
action:
8+
name: edit
9+
params:
10+
- replace
11+
- '-'
12+
- ' '
13+
tokens:
14+
- '\s[^\s-]+ly-'
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
extends: existence
2+
message: "Don't use plurals in parentheses such as in '%s'."
3+
link: 'https://developers.google.com/style/plurals-parentheses'
4+
level: error
5+
nonword: true
6+
action:
7+
name: edit
8+
params:
9+
- remove
10+
- '(s)'
11+
tokens:
12+
- '\b\w+\(s\)'

.github/styles/Google/Ordinal.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extends: existence
2+
message: "Spell out all ordinal numbers ('%s') in text."
3+
link: 'https://developers.google.com/style/numbers'
4+
level: error
5+
nonword: true
6+
tokens:
7+
- \d+(?:st|nd|rd|th)

.github/styles/Google/OxfordComma.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extends: existence
2+
message: "Use the Oxford comma in '%s'."
3+
link: 'https://developers.google.com/style/commas'
4+
scope: sentence
5+
level: warning
6+
tokens:
7+
- '(?:[^,]+,){1,}\s\w+\s(?:and|or)'

.github/styles/Google/Parens.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extends: existence
2+
message: "Use parentheses judiciously."
3+
link: 'https://developers.google.com/style/parentheses'
4+
nonword: true
5+
level: suggestion
6+
tokens:
7+
- '\(.+\)'

0 commit comments

Comments
 (0)