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

Fix/docs #812

Merged
merged 23 commits into from
Jul 11, 2019
Merged

Fix/docs #812

merged 23 commits into from
Jul 11, 2019

Conversation

ImMorpheus
Copy link
Contributor

@ImMorpheus ImMorpheus commented Jul 5, 2019

Should also fix #640

Things I left out:

  • Update testplugins guidelines (Track Enhancements of Debugging Documentation #793)

  • the section about custom manipulators is using code from the myhomes testplugin. That plugin is broken. It should not be used as an example in its current state.

  • public enum Mutation {
    COMPULSIVE_POETRY,
    ROTTED_SOCKS,
    SPONTANEOUS_COMBUSTION;
    };

    is not wrong, but it's not really a good practice either. You should create an EvenContextKey and move the Mutation to the context.

@ImMorpheus ImMorpheus added the needs review The submission is ready and needs to be reviewed label Jul 5, 2019
Copy link
Member

@Inscrutable Inscrutable 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 the clean-up. Someone else should review the code snippets. The rest seems good, especially having https everywhere. I want to comment on the "things left out":

  • Move lantern link to their website
    • it's also nice to know the project is on GitHub, we could have both.
  • Update testplugins guidelines (Track Enhancements of Debugging Documentation #793)
    • may justify a separate PR
  • WIP prefix for PR should be discouraged
    • please do it.
  • custom manipulators using code from broken myhomes testplugin.
    • Agreed, that means either the testplugin gets fixed, a new code example is written, or we make it disappear (for now). It may justify a separate issue and PR.

@Inscrutable Inscrutable added this to the v7.X milestone Jul 6, 2019
@Inscrutable Inscrutable added the outdated docs The API has changed and the docs are outdated label Jul 6, 2019
Copy link
Contributor

@Grauldon Grauldon left a comment

Choose a reason for hiding this comment

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

The Minecraft version doesn't need to prevent merging, but the sentence with the extra article needs correcting while it is getting updated anyway.

Newb ALERT: I inadvertently clicked on the first "View Changes" button instead of the last one. I hope this doesn't cause problems.

source/plugin/configuration/loaders.rst Outdated Show resolved Hide resolved
| *8.0.0* | TBA | TBA | * *SpongeForge (1.13.x)* |
| | | | * *SpongeVanilla (1.13.x)* |
| *8.0.0* | TBA | TBA | * *SpongeForge* |
| | | | * *SpongeVanilla* |
+-------------+--------------+----------------+-------------------------------------------+
Copy link
Contributor

Choose a reason for hiding this comment

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

Is leaving the Minecraft version off intentional? Gabizou said to change it to 1.14, but I can agree with leaving it off for now given the amount of change and uncertainty for which Minecraft version will have fully-functional implementations.

Copy link
Member

Choose a reason for hiding this comment

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

Six of one, half a dozen of the other... Leaving the MC version off an as-yet unreleased API is probably OK, as it will definitely have one by release.

Copy link
Contributor Author

@ImMorpheus ImMorpheus Jul 8, 2019

Choose a reason for hiding this comment

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

Is leaving the Minecraft version off intentional?

Yeah, this is the docs for api 7. No need to worry about future versions of the api.

can confirm the issue and know that you're working on fixing it. You should also create a WIP (work in process) pull
request prefixed with ``[WIP]`` early so we can already start reviewing them.
can confirm the issue and know that you're working on fixing it. You should also create a draft pull
request or comment with ``~wip`` so we can already start reviewing them.
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not certain of what is meant by

or comment with ~wip

Should the comment be made in the issue or the pull request?

Perhaps one of the following two sentences would be clearer:

You should also create a draft pull request with a ~wip comment so we ...

OR

You should also create a draft pull request or comment in the issue with ~wip so we ...

Copy link
Member

Choose a reason for hiding this comment

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

In theory WIP status can be automatically set in GitHub now. More detail is probably required.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see. I found the following URLs. Maybe a link in a Tip block to one of them for more information will suffice.

https://github.blog/2019-02-14-introducing-draft-pull-requests/

https://help.github.com/en/articles/about-pull-requests#draft-pull-requests

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Inscrutable Inscrutable merged commit e772541 into SpongePowered:stable Jul 11, 2019
@ImMorpheus ImMorpheus deleted the fix/docs branch July 11, 2019 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review The submission is ready and needs to be reviewed outdated docs The API has changed and the docs are outdated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated imports in docs
4 participants