Skip to content
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

Migrate to pyansys/actions and include get_version_match function #153

Merged
merged 15 commits into from
Nov 24, 2022

Conversation

Revathyvenugopal162
Copy link
Contributor

Fix as per discussion ansys/pyansys-dev-guide#211 (comment), default position for the version switcher as per the image.

version-switcher

@github-actions github-actions bot added the enhancement General improvements to existing features label Nov 23, 2022
@github-actions github-actions bot added the maintenance Generic maintenance related label Nov 23, 2022
Copy link
Contributor

@MaxJPRey MaxJPRey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Member

@jorgepiloto jorgepiloto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for implementing this, @Revathyvenugopal162. I see that you took advantage of the pyansys/actions, nice!

Just left some suggestions about the way we manipulate the CNAME to make sure that it is only defined in one place.

Apart from those, everything looks great!

doc/source/conf.py Outdated Show resolved Hide resolved
doc/source/conf.py Outdated Show resolved Hide resolved
.github/workflows/ci_cd.yml Outdated Show resolved Hide resolved
src/ansys_sphinx_theme/__init__.py Outdated Show resolved Hide resolved
@RobPasMue
Copy link
Member

RobPasMue commented Nov 24, 2022

@Revathyvenugopal162 remember that if you change "Required" stages of your workflow, you have to change them in the settings of the repository. Otherwise the checks won't be green. This basically applies to the Doc building and Doc style stages, which replace the Documentation and Documentation style checks that were previously implemented.

FYI: I already did it for you this time

@jorgepiloto jorgepiloto changed the title Add default position for version switcher Migrate to pyansys/actions and include get_version_match function Nov 24, 2022
@jorgepiloto jorgepiloto force-pushed the feat/add-default-position-switcher branch 2 times, most recently from 5bf5ddc to fb18986 Compare November 24, 2022 17:07
@jorgepiloto jorgepiloto merged commit c0ec97b into main Nov 24, 2022
@jorgepiloto jorgepiloto deleted the feat/add-default-position-switcher branch November 24, 2022 17:07
Revathyvenugopal162 added a commit that referenced this pull request Nov 28, 2022
…ion (#153)

* Add default position for version switcher

* use pyansys actions

* change the workflow name

* change the workflow names

* Add version in conf

* Change lib name

* Add queue for build

* add version match fn in theme

* Add context

* give default version to the switcher

* Update init file

* delete version html file

* CI: update workflows

Co-authored-by: Jorge Martinez Garrido <jorge.martinezgarrido@ansys.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General improvements to existing features maintenance Generic maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants