Skip to content

Remove in-depth documentation for AuthUI.java and link to README instead #569

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

Merged
merged 2 commits into from
Feb 2, 2017

Conversation

SUPERCILEX
Copy link
Collaborator

@samtstern This change is up to debate, but I've noticed that we rarely update the AuthUI.java documentation and I feel like it would make it easier for us to directly link users to the README giving them the most up to date documentation and promoting awareness of our sub-READMEs.

@samtstern What do you think? The only con I can think of is that devs on an airplane without wifi might not be happy. 😄

* </li>
* <p>
* </ul>
* See the <a href="https://github.com/firebase/FirebaseUI-Android/tree/master/auth#using-firebaseui-for-authentication">README</a>
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's just link to the README itself rather than a section since those headers could change:
https://github.com/firebase/FirebaseUI-Android/blob/master/auth/README.md

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@samtstern I changed the link to reference the file directly, and changed the url fragment to reference the Table of Contents (something that shouldn't change anytime soon). If we do change it and forget to update the docs, it'll just go to the top of the page anyway.

@samtstern
Copy link
Contributor

I think this is a good change since you're right, we never update this JavaDoc. It's unfortunate but it's better to have an up-to-date link than broken docs!

@@ -304,8 +144,8 @@ public static AuthUI getInstance(FirebaseApp app) {
}

/**
* Default theme used by {@link SignInIntentBuilder#setTheme(int)} if no theme
* customization is required.
* Default theme used by {@link SignInIntentBuilder#setTheme(int)} if no theme customization is
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a note for the future, including formatting changes like this that are unrelated to the functionality of the PR is distracting. I can normally look around it, but just wanted to point it out.

Is it your IDE settings that do this automatically?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@samtstern Yeah, sorry. Intellij, just does that automatically when formatting stuff. (I should poke around and try to find where the setting is to disable it, but I've been lazy. I'll look into it at some point.)

@samtstern samtstern merged commit d517973 into firebase:version-1.2.0-dev Feb 2, 2017
@SUPERCILEX SUPERCILEX deleted the docs branch February 2, 2017 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants