1. 25 Jun, 2020 2 commits
    • per1234's avatar
      [skip changelog] Document Arduino CLI's configuration methods (#748) · 0296f4df
      per1234 authored
      The ability to configure Arduino CLI via environment variables is only documented by a mention in the integration options article, which is not an obvious place to look for that information. Since this information didn't fit well in any of the existing pages, it makes sense to add a dedicated page, and add some documentation for the other two configuration methods as well. Although there is existing documentation for the other configuration methods elsewhere in the docs, it is missing some useful specifics, which wouldn't be appropriate to add there.
      0296f4df
    • per1234's avatar
      [skip changelog] Add documentation for library components of the gRPC interface (#692) · daf08780
      per1234 authored
      * [skip changelog] Add documentation for library components of the gRPC interface
      
      Comments added to the .proto files are included in the generated gRPC interface documentation.
      
      * Correct documentation re: relative vs absolute paths provided by Library message fields
      Co-authored-by: default avatarRoberto Sora <r.sora@arduino.cc>
      
      * Use preferred "platform" term in gRPC interface documentation
      
      The official term is now "platform", rather than the previous ambiguous "core".
      Co-authored-by: default avatarRoberto Sora <r.sora@arduino.cc>
      
      * Fix formatting of gRPC interface documentation
      
      * Fix incorrect documentation for task_progress field of LibraryUninstall response
      
      * Document that library version is the key of the releases map
      
      * Update gRPC interface code comments
      Co-authored-by: default avatarRoberto Sora <r.sora@arduino.cc>
      daf08780
  2. 17 Jun, 2020 13 commits
  3. 01 Jun, 2020 3 commits
    • Massimiliano Pippi's avatar
      e1eec95b
    • Henrique's avatar
      Add support for i18n in the cli (#676) · d53a15ba
      Henrique authored
      * add po message catalog implementation
      
      * add po parser for i18n cmd
      
      * add po merge function
      
      * add command to generate en po file from source
      
      * add command to update local po files with en catalog change
      
      * add task to generate po files
      
      * add locale option for i18n
      
      * add dependencies for i18n
      
      * add unit test for i18n
      
      * add godoc to exported fields
      
      * add rice box for i18n messages
      
      * add readme for i18n module
      
      * update README to add instruction to install go-rice
      
      * remove warning log in case locale is not found
      
      * add command to pull and push translation files from/to transifex
      
      * remove unused import
      
      * dont generate new rice file if there are no translation changes
      
      * add copyright headers
      
      * use 'tr' function call as indicator for translations
      
      * adding documentation to pull,push translations and adding new languages
      
      * push only the reference translation catalog
      
      * add check on PR for updated catalog not commited
      
      * push message catalog to transifex
      
      * pull translations fro transifex weekly
      
      * get locale identifier from diferent OSes
      
      * get locale identifier from diferent OSes
      
      * match locale algo
      
      * add locale match test
      
      * preserve LF in translation string unchanged
      
      * init config before executing command
      
      * create arduino cmd dynamically
      
      * make all command init dynamically
      
      * save all message occurrences in catalog
      
      * add translatable cli usage template
      
      * add messages for cli usage template
      
      * remove standalone i18n message check
      
      * add more i18n tests
      
      * fix po parsing correctness and implement tests
      
      * fix configuration path search tests
      
      * update catalog command to find go files
      
      * update catalog with new path
      
      * fix docsgen command
      
      * remove dependency on shell script for windows compat
      
      * fix test workflow
      
      * update setup-go to v2
      
      * fail i18n:check task if catalog was not updated
      
      * replace windows separator with forward slash
      
      * use filepath function to translate windows paths
      
      * only update en catalog
      d53a15ba
    • Cristian Maglie's avatar
      [skip-changelog] Fixed codecov.yml file (#735) · 4b9c9241
      Cristian Maglie authored
      The file has been validated with the webservice provided by codecov.
      
      Before the patch:
      
      $ curl --data-binary @.codecov.yml https://codecov.io/validate
      Path: coverage->status->project->default->threshold
      <shared.validation.helpers.PercentSchemaField object at 0x7f172d3e5a10>.validate(None) raised TypeError('expected string or bytes-like object')
      
      After the patch:
      
      $ curl --data-binary @.codecov.yml https://codecov.io/validate
      Valid!
      
      {
        "comment": false,
        "coverage": {
          "status": {
            "patch": false,
            "changes": false,
            "project": {
              "default": {
                "target": 30.0
              }
            }
          }
        }
      }
      4b9c9241
  4. 29 May, 2020 2 commits
  5. 28 May, 2020 1 commit
  6. 27 May, 2020 2 commits
  7. 22 May, 2020 3 commits
  8. 21 May, 2020 4 commits
    • per1234's avatar
      [skip changelog] Clarify installation instructions for Windows (#706) · a7d7de0b
      per1234 authored
      * [skip changelog] Document the install script's compatibility with Windows
      
      It's already quite clear that the Homebrew installation method is not available for Windows, so the first option for Windows users is the install script, which is also not well supported on Windows.
      
      * [skip changelog] Make the PATH instructions more prominent in the installation docs
      
      Although the installation script does recommend adding Arduino CLI to PATH, I though it worth providing an explanation of why in installation instructions.
      
      I combined the various download sources into sub-headings of a single "Download" installation option section so that the PATH instructions could be provided prominently only once for that installation option.
      a7d7de0b
    • Massimiliano Pippi's avatar
      097212fd
    • Massimiliano Pippi's avatar
      Remove unused import (#715) · c283b0af
      Massimiliano Pippi authored
      * remove unused import
      
      * remove blank line
      c283b0af
    • Massimiliano Pippi's avatar
      Add versioning to docs (#711) · 70c62050
      Massimiliano Pippi authored
      * introduce mike
      
      * use default 'site' dir for output
      
      * install mike and pin material theme
      
      * add task to build&publish docs using Mike
      
      * publish dev and versioned docs
      
      * narrow down env definition
      
      * add build script to handle versioning
      
      * invoke task, not mike directly
      70c62050
  9. 19 May, 2020 3 commits
  10. 15 May, 2020 1 commit
    • Cristian Maglie's avatar
      Compile extract all artifacts in "sketch/build" folder (#687) · ebc28e1b
      Cristian Maglie authored
      * Deprecated exportFile/importFile in favor of exportDir/importDir
      
      * Updated compile/upload cli commands
      
      * Compile now saves artifacts in 'sketch/build/<FQBN>/...' folder
      
      * Upload now uses export folder
      
      * Test fix: use --output-dir option instead of deprecated --output
      
      * Text fix: no more need to check if "extension won't be added if already present"
      
      * Added Debug.ImportDir and deprecated Debug.ImportFile
      
      * Upload now uses export folder
      
      * Fixed GetCommandLine test
      
      * Fixed test_core_install_esp32
      ebc28e1b
  11. 13 May, 2020 5 commits
  12. 08 May, 2020 1 commit