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

Rename unforbid to claim #695

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Penumbra69
Copy link

@Penumbra69 Penumbra69 commented May 2, 2023

  • closes dfhack #3183
  • unforbid.lua -> claim.lua
  • unforbid.rst -> claim.rst
  • update documentation to use claim / claimed
  • Update "forbid.lua" to hint at "claim all" instead of "unforbid all"
  • added a note to the changelog.txt

 - unforbid.lua -> claim.lua
 - unforbid.rst -> claim.rst
 - update documentation to use claim / claimed
 - Update "forbid.lua" to hint at "claim all"
 - added a note to the changelog.txt
 - Added an alias "unforbid -> claim" in the init
docs/claim.rst Show resolved Hide resolved
Penumbra69 and others added 2 commits May 1, 2023 19:34
- Adding _unforbid anchor

Co-authored-by: Myk <myk.taylor@gmail.com>
 - Trying to make sphinx happy
@myk002
Copy link
Member

myk002 commented May 2, 2023

the sphinx anchor has to be above a title. I think the verification script needs to be updated in this case.

The logic in this line would need to detect and skip over anchor definitions (lines starting with ..): https://github.com/DFHack/dfhack/blob/develop/ci/script-docs.py#L45

 - Skip anchors (..)
 - Anchor unforbid docs to claim.rst
@Penumbra69
Copy link
Author

I see now .. I haven't used Sphinx in a v. long time - I think I hive it sorted out this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants