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

Expand agent state transition coverage. #170

Merged
merged 1 commit into from
Oct 20, 2023
Merged

Conversation

Robadob
Copy link
Member

@Robadob Robadob commented Oct 20, 2023

Closes #169

May wish to rename conditional-behaviours.rst to agent-state-transitions.rst, however that will kill old links. @ptheywood has suggested there's Sphinx plugins to redirect old pages.

@Robadob Robadob self-assigned this Oct 20, 2023
@ptheywood
Copy link
Member

sphinxext-rediraffe works for full-page redirects (i.e. page renaming).

Needs:

  • adding to requirements.txt

  • add to the list of extensions in conf.py.in

  • add a dict named rediraff_redirects to conf.py.in, with the old .rst path as the key, and new rst path as the value. i.e. (with full paths rather than just file names)

    rediraffe_redirects = {
        "conditional-behaviours.rst": "agent-state-transitions.rst",
    }
    

@Robadob Robadob marked this pull request as ready for review October 20, 2023 12:32
Add redirect so old page URL redirects to new page.

guide/agent-functions/conditional-behaviours to guide/agent-functions/agent-state-transitions

Closes #169
@Robadob Robadob added the enhancement New feature or request label Oct 20, 2023
@ptheywood ptheywood merged commit 8cddb3b into master Oct 20, 2023
5 checks passed
@ptheywood ptheywood deleted the agent_state_improvements branch October 20, 2023 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve coverage of agent state transitions.
2 participants