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

Refactor and polish docs #274

Closed
wants to merge 4 commits into from
Closed

Conversation

hynek
Copy link
Member

@hynek hynek commented Oct 21, 2017

attrs has grown out of its doc structure long time ago and it’s time to acknowledge that we need narrative docs. Docs that maybe will prevent people from opening the daily issue about underscore prefix-handling in __init__ and docs that give us better space to explain concepts in general.

This isn’t those docs yet. Instead it makes the index more beginner friendly and lays out the space for narrative docs: the Day-to-Day Usage section (better names welcome).

It’s against #272 because I hope that’s gonna get merged soon (wink wink).

To give you an idea, how the new layout looks like, I’ve activated it in readthedocs for your viewing pleasure: http://www.attrs.org/en/narrative-docs/

Please let me know what ya’ll think!

@hynek hynek added this to the 17.3 milestone Oct 21, 2017
@hynek
Copy link
Member Author

hynek commented Oct 21, 2017

(maybe it’s also time to get rid of the testimonials, at least in the docs. they take a lot of space)

@codecov
Copy link

codecov bot commented Oct 21, 2017

Codecov Report

Merging #274 into refactor-class-creation will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@                  Coverage Diff                   @@
##           refactor-class-creation   #274   +/-   ##
======================================================
  Coverage                      100%   100%           
======================================================
  Files                            9      9           
  Lines                          660    660           
  Branches                       138    138           
======================================================
  Hits                           660    660
Impacted Files Coverage Δ
src/attr/_make.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8663bd1...31bb270. Read the comment docs.

@hynek hynek force-pushed the narrative-docs branch 2 times, most recently from 47d5320 to a51ae31 Compare October 26, 2017 10:36
Instead of adding and possibly later deleting attributes, the class creation is delegated into a cleaner building pattern.
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.

1 participant