readthedocs / actions

GitHub Actions for Read the Docs
MIT License
33 stars 10 forks source link

Support Read the Docs Community & for Business #8

Closed humitos closed 2 years ago

humitos commented 2 years ago

Currently, the action only supports "Read the Docs Community". To support "Read for Business" we will need to think about:

Reference: https://github.com/readthedocs/readthedocs.org/pull/9450#discussion_r929260239

humitos commented 2 years ago

This should be done in c70557245b0ae077da1a8aeef7f259e88f2916f6 but I haven't tested it yet. It should be used as:

jobs:
  documentation-links:
    runs-on: ubuntu-latest
    steps:
      - uses: readthedocs/readthedocs-preview@main
        with:
          project-slug: "organization-project"
          platform: "business"
humitos commented 2 years ago

I tested it at https://github.com/readthedocs/sphinx-hoverxref/pull/220 and it seems it worked fine.