I've been reading lot's of documentation here on Drupal.org to try and learn about Classy; how it is structured, meant to be used, etc., when I realized that it didn't have a README.txt file. I noticed that Stark ships with one that is actually quite useful. I think it might be useful to have something similar packaged within Classy. A simple README explaining that Classy is a base theme meant to be leveraged by other sub-themes. Linking to relevant documentation on D.O might also be helpful. I'm attaching a first pass at how this might look.

CommentFileSizeAuthor
#116 readme-2575387-116.patch953 bytessudhanshug
#110 add_readme_txt_to-2575387-110.patch724 bytesajits
#108 add_readme_txt_to-2575387-108.patch0 bytesajits
#108 interdiff.txt593 bytesajits
#103 interdiff.txt1.22 KBstar-szr
#103 add_readme_txt_to-2575387-103.patch724 bytesstar-szr
#101 interdiff.txt1007 bytesstar-szr
#101 add_readme_txt_to-2575387-101.patch895 bytesstar-szr
#100 2575387-100.patch890 bytessnehi
#100 interdiff.txt544 bytessnehi
#97 2575387-97.patch891 bytesrashid_786
#94 interdiff-2575387-86-94.txt1.24 KBrashid_786
#94 2575387-94.patch890 bytesrashid_786
#86 interdiff-2575387-74-86.txt1.13 KBr_sharma08
#86 add-readme-classy2575387-86.patch899 bytesr_sharma08
#85 2575387_fi.patch1021 bytessudhanshug
#81 2575387_first.patch853 bytessudhanshug
#77 interdiff-2575387-72-74.txt276 bytesr_sharma08
#75 add-readme-classy2575387-74.patch794 bytesr_sharma08
#73 interdiff-2575387-67-72.txt657 bytesr_sharma08
#73 add-readme-classy2575387-72.patch794 bytesr_sharma08
#72 interdiff-2575387-67-72.txt657 bytesr_sharma08
#72 add-readme-classy2575387-72.txt794 bytesr_sharma08
#67 interdiff-2575387-63-67.txt850 bytesr_sharma08
#67 add-readme-classy2575787-67.patch925 bytesr_sharma08
#64 2575387-63.patch989 bytesbrahmjeet789
#62 interdiff-2575387-60-62.txt729 bytesjordanpagewhite
#62 2575387-62.patch648 bytesjordanpagewhite
#60 interdiff-2575387-51-58.txt831 bytesanil.gangwal
#60 drupal-core-add-classy-readme-2575387-58.patch720 bytesanil.gangwal
#55 drupal-core-add-classy-readme-2575387-55.patch470 bytesprashant.c
#54 drupal-core-add-classy-readme-2575387-54.patch420 bytesprashant.c
#51 drupal-core-add-classy-readme-2575387-51.patch734 byteschrisfree
#50 drupal-core-add-classy-readme-2575387-49.patch775 byteschrisfree
#47 drupal-core-add-classy-readme-2575387-46.patch788 byteschrisfree
#42 interdiff-2575387-39-41.txt929 bytesr_sharma08
#43 drupal-core-add-classy-readme-2575387-42.patch856 byteschrisfree
#39 add-classy-readme-2575387-39.patch826 byteshussainweb
#39 interdiff-37-39.txt589 byteshussainweb
#37 add-classy-readme-2575387-37.patch842 byteshussainweb
#37 interdiff-36-37.txt619 byteshussainweb
#36 add-classy-readme-2575387-36.patch843 byteshussainweb
#36 interdiff-35-36.txt1.18 KBhussainweb
#35 interdiff-2575387-29-34.txt1.13 KBdrupal.ninja03
#35 drupal-core-add-classy-readme-2575387-34.patch821 bytesdrupal.ninja03
#33 drupal-core-add-classy-readme-2575387-33.patch1.13 KBdrupal.ninja03
#29 drupal-core-add-classy-readme-2575387-29.patch720 bytesanil280988
#29 interdiff-2575387-25-29.txt834 bytesanil280988
#25 drupal-core-add-classy-readme-25-8.0.patch720 byteschrisfree
#24 drupal-core-add-classy-readme-24-8.0.patch720 byteschrisfree
#16 2575387-15.patch720 bytesanil280988
#15 interdiff-2575387-11-15.txt858 bytesanil280988
#11 2575387-11.patch723 bytesr_sharma08
#6 2575387-6.patch716 bytesr_sharma08
#5 error.txt246 bytesr_sharma08
drupal-core-add-classy-readme-8.0.patch20.23 KBchrisfree

Comments

chrisfree created an issue. See original summary.

chrisfree’s picture

Assigned: chrisfree » Unassigned
anil280988’s picture

For Read Me, why other files need to be modified?

chrisfree’s picture

Whoops! I'll fix.

r_sharma08’s picture

StatusFileSize
new246 bytes

I am not able to apply this patch, error details attached.

r_sharma08’s picture

StatusFileSize
new716 bytes

Now README.txt created, please review.

r_sharma08’s picture

Status: Needs work » Needs review
r_sharma08’s picture

The last submitted patch, drupal-core-add-classy-readme-8.0.patch, failed testing.

ajits’s picture

Status: Needs review » Needs work
  1. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,11 @@
    +Classy is a theme in Drupal 8 core that is used as a base theme for Bartik and Seven.
    

    Can this be broken into 2 lines so that line does not have more than 80 characters?

  2. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,11 @@
    +Classy provides basic classes throughout Drupal's default markup. This can be useful to themers who want a starting point for their themes without having to add classes throughout templates, etc. Themers that want markup coming out of Drupal to be as clean as possible (no classes), can simply ignore classy.
    

    Same thing here..

r_sharma08’s picture

StatusFileSize
new723 bytes
r_sharma08’s picture

Status: Needs work » Needs review

The last submitted patch, drupal-core-add-classy-readme-8.0.patch, failed testing.

ajits’s picture

Status: Needs review » Needs work

Almost there :) Few nitpicks below

  1. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,15 @@
    +Classy is a theme in Drupal 8 core that is used as a base theme for ¶
    

    Trailing space should be removed.

  2. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,15 @@
    +Classy provides basic classes throughout Drupal's default markup. This can be ¶
    

    Trailing space again.

  3. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,15 @@
    +useful to themers who want a starting point for their themes without having ¶
    

    Trailing space again. This is the last :)

anil280988’s picture

Status: Needs work » Needs review
StatusFileSize
new858 bytes

Made the changes.

anil280988’s picture

StatusFileSize
new720 bytes

Sorry forgot to add patch.

chrisfree’s picture

Looks good to me! Thanks for picking up my slack, anil280988! I'd vote to move this to RTBC.

anil280988’s picture

Thanks @Chrisfree

ajits’s picture

Status: Needs review » Reviewed & tested by the community

The last submitted patch, drupal-core-add-classy-readme-8.0.patch, failed testing.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 16: 2575387-15.patch, failed testing.

ajits’s picture

Status: Needs work » Reviewed & tested by the community

The last submitted patch, drupal-core-add-classy-readme-8.0.patch, failed testing.

chrisfree’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new720 bytes

Here is an updated patch. I found one issue with word wrapping in the most recent patch. Hopefully this patch clears testing as well.

chrisfree’s picture

StatusFileSize
new720 bytes

Whoops, last patch didn't have the line break change. Here's the right patch:

snehi’s picture

Status: Needs review » Reviewed & tested by the community

@chrisfree,
Thanks for the patch. It looks fine to me.
It is RTBC now.

The last submitted patch, drupal-core-add-classy-readme-8.0.patch, failed testing.

davidhernandez’s picture

Category: Feature request » Task
Status: Reviewed & tested by the community » Needs work
Issue tags: -Needs documentation +Documentation, +Novice
+++ b/core/themes/classy/README.txt
@@ -0,0 +1,15 @@
+Classy is a theme in Drupal 8 core that is used as a base theme for Bartik and
+Seven.

This might need some rewording. It seems to imply that Classy was added specifically to serve as a base for Bartik and Seven, which is not the case.

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,15 @@
+to add classes throughout templates, etc. Themers that want markup coming out

This sentence needs work. The "etc" in particular should probably be removed.

In general, is the intention here to simply describe or provide some instruction. It would probably help to include information on how to use Classy, ie. adding the setting in the theme's info file. Also, instead of linking to the change record it is probably better to link to the drupal.org theming guide page. https://www.drupal.org/theme-guide/8/classy

anil280988’s picture

Status: Needs work » Needs review
StatusFileSize
new834 bytes
new720 bytes

Hi davidhernandez,
1. Classy is used as a base for Bartik and Seven. So its not wrong,but could we use something like this.

Classy is a theme in Drupal 8 core that is used as a base theme for Bartik and
Seven. It can also be used as independent theme.

Though it seems classy was created for this( https://www.drupal.org/node/2289511 ).

Made changes for #2 and provide link to theming guide page.

star-szr’s picture

Status: Needs review » Needs work

Agreed with @davidhernandez the fact that it's used by Bartik and Seven is not really the most relevant thing here. We should be describing what makes Classy different and why people would use it over Stable.

jhodgdon’s picture

Agreed. We should lead off saying Classy is a good base theme if you want a standard set of classes added to your divs etc. and contrast that with Stable. Especially now that we have a README for Stable. (having just committed #2612618: Add README.txt file to Stable explain its role as a backwards compatibility layer)

davidhernandez’s picture

drupal.ninja03’s picture

Status: Needs work » Needs review
StatusFileSize
new1.13 KB

Hi,

Please review the patch file I have uploaded. Thanks.

Status: Needs review » Needs work

The last submitted patch, 33: drupal-core-add-classy-readme-2575387-33.patch, failed testing.

drupal.ninja03’s picture

Status: Needs work » Needs review
StatusFileSize
new821 bytes
new1.13 KB

Hi,
Recreated patch and added interdiff file.

hussainweb’s picture

StatusFileSize
new1.18 KB
new843 bytes

I am trying to make it a bit clearer (hopefully) and fixing some errors.

hussainweb’s picture

StatusFileSize
new619 bytes
new842 bytes

Small edit.

ajits’s picture

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,19 @@
+to your markup. Classy is the base theme for Bartik and Seven core themes. To
+use Classy as the base theme in your theme, set the 'base theme' in your theme's
+.info.yml to 'classy':
as a base theme in your your theme,

The "in your theme" part seems to be redundant.

I think it could be removed, and just use

To use Classy as the base theme, set the 'base theme' in your theme's .info.yml to 'classy':

hussainweb’s picture

StatusFileSize
new589 bytes
new826 bytes

Good point.

star-szr’s picture

  1. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +use Classy as the base theme, set the 'base theme' in your theme's .info.yml to
    

    "use Classy as your base theme" would be better here I think.

  2. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +markup to be as clean as possible (no classes) may simply ignore classy.
    

    IMO it might be nice here to:

    Perhaps be a bit clearer about what we mean by "ignore classy", and/or spell out that Stable is the alternative for cleaner markup, since it has its own README now. See #2630592: Tweak Stable's README.txt to be more understandable by new users where we're trying to mention Classy in Stable's README :)

davidhernandez’s picture

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,19 @@
+markup to be as clean as possible (no classes) may simply ignore classy.

Also, "Classy" should be capitalized here.

r_sharma08’s picture

StatusFileSize
new895 bytes
new929 bytes

Tried to correct the language.
Kindly review and suggest if any more changes required.

chrisfree’s picture

StatusFileSize
new856 bytes

Here's an updated patch.

jhodgdon’s picture

Status: Needs review » Needs work

Thanks -- this is looking OK.... There's one grammatical nitpick:

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,20 @@
+markup to be as clean as possible (less classes) can use Stable, the default

less => fewer

Also... Hm... The first paragraph just seems to be a random unconnected list of statements -- it's choppy. And it starts to talk about classes, but the second paragraph is all about the classes, which made me think it was kind of redundant.

Also I don't think I would use the phrase "good base theme", and ...

I'm also not thrilled about saying these are Drupal's one "standard set of classes", since the Stable theme doesn't have them, so apparently really the standard is not to have classes.

Also, the headers seem kind of silly to me. The first one is About Classy -- duh. This is a README in the Classy theme, of course it's about Classy. The second one is "More about Classy" but it's just a link to the generic theme guide, not about Classy itself.

So I don't think we need the headers. We could just at the last line say "For more information about theming, see ...".

So.

Can we take another run at this?

chrisfree’s picture

Yeah, I hear you on all points. I think I was just mimicking what I'd seen elsewhere in terms of the headers. This is what we have in Stark:

ABOUT STARK
-----------

The Stark theme is provided for demonstration purposes; it uses Drupal's
default HTML markup and CSS styles. It can be used as a troubleshooting tool to
determine whether module-related CSS and JavaScript are interfering with a more
complex theme, and can be used by designers interested in studying Drupal's
default markup without the interference of changes commonly made by more
complex themes.

To avoid obscuring CSS added to the page by Drupal or a contrib module, the
Stark theme itself has no styling.


ABOUT DRUPAL THEMING
--------------------

To learn how to build your own custom theme and override Drupal's default code,
see the Theming Guide: https://www.drupal.org/theme-guide

See the themes/README.txt for more information on where to place your
custom themes to ensure easy maintenance and upgrades.

I'll take another pass at this right now and post a new patch.

jhodgdon’s picture

About Classy / About Drupal theming would be fine headers. About Classy / More About Classy -- not so much. ;)

chrisfree’s picture

Status: Needs work » Needs review
StatusFileSize
new788 bytes

@jhodgdon how does this patch look to you? Rewritten for clarity and reduction in redundancy. I left the "About Classy" header for now. I'd vote to keep that but see your point.

jhodgdon’s picture

Status: Needs review » Needs work
+++ b/core/themes/classy/README.txt
@@ -0,0 +1,17 @@
+Drupal 8.

Let's not say "in Drupal 8". Just leave it out.

The reason is that we try to avoid putting explicit "Drupal" or version numbers in our docs in general; version numbers are also problematic because those would need to be changed for new versions.

Other than that, I think this version is pretty good, thanks!

davidhernandez’s picture

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,17 @@
+Classy is the base theme for the Bartik and Seven core themes. Classy can be

Again, please do not include this sentence. Bartik and Seven have nothing to do with Classy's existence. Their use of Classy is mostly a convenience. It is especially problematic having that as an opening sentence because it gives it greater weight, and implies a primary purpose.

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,17 @@
+

I believe the blank line before the code line should be removed. We did that in the Stable README file, so I assume it is spec?

chrisfree’s picture

Ah, that makes a lot of sense. Here's an updated patch that removes "in Drupal 8".

chrisfree’s picture

Here's another revision that includes suggestions from @davidhernandez.

chrisfree’s picture

Status: Needs work » Needs review
snehi’s picture

Status: Needs review » Needs work
+++ b/core/themes/classy/README.txt
@@ -0,0 +1,15 @@
+Classy is a base theme that can be useful to themers who want a starting point

Replace with "who want to start with custom theme"

prashant.c’s picture

Adding Drupal 8 theming guide link to README.txt file.

+
+ABOUT DRUPAL THEMING
+--------------------
+
+For more information, see Drupal.org's theming guide.
+https://www.drupal.org/theme-guide/8
prashant.c’s picture

Sorry previously added wrong patch file.

prashant.c’s picture

Status: Needs work » Needs review
snehi’s picture

Status: Needs review » Needs work

Please see #53

The last submitted patch, 54: drupal-core-add-classy-readme-2575387-54.patch, failed testing.

The last submitted patch, 55: drupal-core-add-classy-readme-2575387-55.patch, failed testing.

anil.gangwal’s picture

Assigned: Unassigned » anil.gangwal
Status: Needs work » Needs review
StatusFileSize
new720 bytes
new831 bytes

adding @snehi #53 comment

star-szr’s picture

+++ b/core/themes/classy/README.txt
@@ -2,10 +2,10 @@
-Classy is a base theme that can be useful to themers who want a starting point
-for their custom themes without having to add classes throughout templates.
-Themers who want their markup to be as clean as possible (fewer classes) can use
-Stable, core's default base theme.
+Classy is a base theme that can be useful to themers who want to start with
+custom theme without having to add classes throughout templates. Themers who
+want their markup to be as clean as possible (fewer classes) can use Stable,
+core's default base theme.

Sorry but IMO this is a step backwards.

jordanpagewhite’s picture

StatusFileSize
new648 bytes
new729 bytes

It seemed to me that the phrase "that can be useful to themers who want a starting point for their custom themes" added no value since it just describes what a base theme is. I also wanted to mention that Classy uses a BEM naming syntax.

anil.gangwal’s picture

Assigned: anil.gangwal » Unassigned
brahmjeet789’s picture

StatusFileSize
new989 bytes

I have added few lines may be it works:

jordanpagewhite’s picture

Please include an interdiff. I suggested that we remove the "that can be useful to themers who want a starting point for their custom themes" sentence in #62. If you feel that sentence should remain in the README, can you please provide a counter-argument to my point.

snehi’s picture

Status: Needs review » Needs work
+++ b/core/themes/classy/README.txt
@@ -0,0 +1,20 @@
+Themers who want their markup to be as clean as possible (fewer classes) ¶

Not ok with wording.
Extra trailing space at the end of the line.
Please first suggest and than create a patch, it may be for saving time of yours.
Anyway thanks for contributions and keep it up !!!

r_sharma08’s picture

StatusFileSize
new925 bytes
new850 bytes

Sentence corrected, please review.

r_sharma08’s picture

Status: Needs work » Needs review
snehi’s picture

+1 for RTBC

jordanpagewhite’s picture

Copy and pasting my comment from #65, which was copied from #62: "I suggested that we remove the "that can be useful to themers who want a starting point for their custom themes" sentence in #62. If you feel that sentence should remain in the README, can you please provide a counter-argument to my point."

star-szr’s picture

Status: Needs review » Needs work

The paragraphs seem to be all crammed together and there's weird capitalization and such (more on that below), so this still needs more work.

Normally I would really encourage lots of participation in issues but at least in this case it seems that because we have so many different people uploading patches it's delaying the issue, not expediting it. Do we really need 4 different people from the same company working on patches for this issue? I don't think so.

  1. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +ABOUT Classy
    

    Why is Classy not in all caps?

  2. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +The Classy theme is helpful for Themers to start with the custom themes
    

    Why is Themers capitalized?

I'm with @jordanpagewhite, I don't think that sentence is adding much and with the later patches the grammar is not very good either.

r_sharma08’s picture

Assigned: Unassigned » r_sharma08
Status: Needs work » Needs review
StatusFileSize
new794 bytes
new657 bytes

Following text removed:
"The Classy theme is helpful for Themers to start with the custom themes
without having to add classes throughout the templates."
and the errors have been corrected.
Please suggest if any more changes required.

r_sharma08’s picture

StatusFileSize
new794 bytes
new657 bytes

sorry, wrong file uploaded. Again uploading the patch file and interdiff.

snehi’s picture

  1. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,17 @@
    +A theming guide on using Classy can be found at the following URL:
    

    Why t of theming is small ?

  2. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,17 @@
    +see the Theming Guide: https://www.drupal.org/theme-guide
    

    Why T is capital of theming

r_sharma08’s picture

StatusFileSize
new794 bytes

t will be small in word "theming". Corrected and uploaded patch.

snehi’s picture

Status: Needs review » Needs work

As mentioned in community docs, please provide inter-diff every time whenever you create patch from older patch.
Thanks

r_sharma08’s picture

Status: Needs work » Needs review
StatusFileSize
new276 bytes

Attached interdiff file, please review.

r_sharma08’s picture

Attached interdiff file, please review.

davidhernandez’s picture

Status: Needs review » Needs work
+++ b/core/themes/classy/README.txt
@@ -0,0 +1,17 @@
+A theming guide on using Classy can be found at the following URL:

I would replace "A theming guide" with "Documentation". Particularly, because it is mentioned twice in the same paragraph.

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,17 @@
+see the theming Guide: https://www.drupal.org/theme-guide

This change is not correct. We would not have a lowercase "t" used with an uppercase "G". If "Theming Guide" is capitalized, it is because it is the title of the page. If not, then they would both be lowercase. In this case, it looks to be the title, so I would have them both uppercase. "Theming Guide".

star-szr’s picture

The paragraphs are still together. If they're not separate paragraphs, don't wrap early. If they are, add a blank line in between the paragraphs.

sudhanshug’s picture

StatusFileSize
new853 bytes

patch submitted

sudhanshug’s picture

readme file to classy

jhodgdon’s picture

In addition to the previous comments...

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,17 @@
+Classy is a base theme that adds classes using the BEM naming syntax.

What is the BEM naming syntax? Please don't use acronyms in documentation except really really common things like HTML. I have no idea what this is. The acronym needs to be written out, and in addition we probably need to have a reference on what it means (like Wikipedia page or drupal.org documentation page).

davidhernandez’s picture

RE #83 I would remove the BEM bit altogether. BEM is a naming convention for CSS class names (https://css-tricks.com/bem-101/) but I don't know that I'd say it is strictly implemented in Classy. Besides, it is more of an all around core initiative, not something specific to Classy, so it doesn't add anything special to Classy's description/purpose.

sudhanshug’s picture

StatusFileSize
new1021 bytes

new readme

r_sharma08’s picture

StatusFileSize
new899 bytes
new1.13 KB

#79 to #84 has been incorporated into the attached patch. Please review.

r_sharma08’s picture

Status: Needs work » Needs review
snehi’s picture

  1. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +It uses methodology named *Block,Element,Modifier*(commonly referred to as [BEM](https://css-tricks.com/bem-101/)) as naming convention for classes in HTML and CSS.
    

    I don't think this is the correct way to do this and more than 80 characters in a line

  2. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +For clean markup(fewer classes), *Stable* can be used as core's default base theme.
    

    more than 80 characters in a line

  3. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +To use *Classy* as your base theme, set the *base theme* in your theme's *.info.yml* file to *classy*:
    

    more than 80 characters in a line

  4. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +	base theme: classy
    

    Empty spaces here

  5. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,19 @@
    +To learn how to build your own custom theme and override Drupal's default code, see theming Guide:
    

    more than 80 characters in a line

snehi’s picture

regarding #86

  1. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,20 @@
    +Classy is a base theme that adds classes using the BEM (a naming convention for
    

    Please spell out the full name and i don't think classy is strictly following BEM.
    Let someone else may be @Jhodgdon can review it better.

  2. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,20 @@
    +.info.ymlfile to "classy":
    

    spcae is missing here.

Thanks for your contribution

snehi’s picture

Status: Needs review » Needs work
r_sharma08’s picture

Assigned: r_sharma08 » Unassigned
rashid_786’s picture

Assigned: Unassigned » rashid_786
jhodgdon’s picture

See review in #84 please. We do not even want the part about BEM at all. Thanks!

rashid_786’s picture

Assigned: rashid_786 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new890 bytes
new1.24 KB
r_sharma08’s picture

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,20 @@
+.info.ymlfile to "classy":

space needed between .info.yml and file

zeeshan_khan’s picture

Status: Needs review » Needs work
rashid_786’s picture

Status: Needs work » Needs review
StatusFileSize
new891 bytes

changes updated with new patch.

snehi’s picture

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,20 @@
+To learn how to build your own custom theme and override Drupal's ¶

Blank space here

snehi’s picture

Assigned: Unassigned » snehi
snehi’s picture

Assigned: snehi » Unassigned
StatusFileSize
new544 bytes
new890 bytes
star-szr’s picture

StatusFileSize
new895 bytes
new1007 bytes
  1. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,20 @@
    +the markup that help anotate and describe markup elements that render
    

    s/anotate/annotate/

  2. +++ b/core/themes/classy/README.txt
    @@ -0,0 +1,20 @@
    +For clean markup (fewer classes), Stable can be used as core's default base
    +theme. To use Classy as your base theme, set the 'base theme' in your theme's
    +.info.yml file to "classy":
    +base theme: classy
    

    Hmm not sure about how these two sentences are together like this. I would consider either splitting this into two paragraphs, with the Stable part after the base theme part, or move the Stable part to the end of the previous paragraph. Also the wording "Stable can be used as core's default base theme" could be improved IMO. To me it's not really the right message, I think it's the "as" that is tripping me up.

Patch attached with those changes and some other minor tweaks more in line with Stable's README. Re-wrapped everything to 80 chars as well.

I'm still not quite happy with the second sentence but don't have any great ideas at the moment on improving it.

Its purpose is to provide many classes throughout the markup that help annotate and describe markup elements that render on the page.

jhodgdon’s picture

Status: Needs review » Needs work

Agreed that the first paragraph is still not great. How about something like this for the first two sentences:

Classy is a base theme that provides many classes in its markup.

That seems like it is much more concise?

And can we also have the last two paragraphs be more parallel? The first one says something like "Documentation for [] is at the following URL: [url]" and the second says "For [] see [title]: [url]".

What we normally do in READMEs is something like this:

See [url] for more information on [whatever it is].

Thanks!

star-szr’s picture

Status: Needs work » Needs review
StatusFileSize
new724 bytes
new1.22 KB

Thanks @jhodgdon!

chrisfree’s picture

This looks good to my eyes. Happy to see this wrapping up!

manjit.singh’s picture

+++ b/core/themes/classy/README.txt
@@ -0,0 +1,17 @@
+See https://www.drupal.org/theme-guide/8/classy for more information on using
+the Classy theme.

May be it would be make more sense if we can put it below the "About Classy" section.

jhodgdon’s picture

Status: Needs review » Needs work
+++ b/core/themes/classy/README.txt
@@ -0,0 +1,17 @@
+See https://www.drupal.org/theme-guide/8/classy for more information on using
+the Classy theme.

Yes, I agree that this line would probably be better in the About Classy section.

Otherwise, I think this README is looking good!

snehi’s picture

Assigned: Unassigned » snehi
ajits’s picture

Assigned: snehi » Unassigned
Status: Needs work » Needs review
StatusFileSize
new593 bytes
new0 bytes

@snehi Tried reaching you on IRC but couldn't.
Made the changes as per #106.

Status: Needs review » Needs work

The last submitted patch, 108: add_readme_txt_to-2575387-108.patch, failed testing.

ajits’s picture

Status: Needs work » Needs review
StatusFileSize
new724 bytes

Empty patch attached earlier. Sorry about that!

snehi’s picture

@AjitS Please work on assigned issues.

manjit.singh’s picture

@Snehi I have looked so many issues where you are struggling with the others regarding assigned or unassigned issues. :D :D
Please start work on the issue at the time when you assign it to yourself.

@AjitS : Please check this https://www.drupal.org/node/2172049

ajits’s picture

@snehi As mentioned earlier, I actually tried to reach you on IRC to check if you are still working on the issue. And I took the issue up after 7 hours, because I thought the change required was small, and completing which would probably push the issue to RTBC.
My intention was not to offend you by any means. Sorry if you feel that way!

@Manjit.Singh Thanks!

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Thanks all! Only 114 comments, and we have I think a good README.

chrisfree’s picture

Yay!

sudhanshug’s picture

StatusFileSize
new953 bytes

added file classy theme README

sudhanshug’s picture

Status: Reviewed & tested by the community » Needs review
snehi’s picture

Status: Needs review » Reviewed & tested by the community

@sudhanshug this issue is Already RTBC, why are you attaching patch to it.
If you have any issue please write a comment.
Where is the interdiff ?

hussainweb’s picture

@sudhanshug: Thank you for your contribution. Every bit helps.

For future reference, please keep in mind a few points so that your patch can be easily reviewed.

  • Always explain what you are changing, especially if the patch is already RTBC. Sometimes changes are obvious, but in this case, it wasn't.
  • Always include an interdiff whenever relevant. If there is anything you are changing, include an interdiff. You are helping the reviewer, who in turn will help you by giving constructive feedback.
  • If there is something wrong, it is always better to read through previous comments or point out that something is wrong. It is better to avoid drastic changes without feedback.

I compared your patch and the one in #110. I see you added points on BEM and changed a few other things. If you see comments #83 onwards, we removed BEM for a reason. If you have a doubt, please ask before making a change.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

I've committed the patch in #110 since that is the patch that @jhodgdon (the docs committer) rtbc'd. @sudhanshug if you feel that that documentation can be improved please file a followup issue I made an interdiff of #110 to #116 and it looks like an old version was uploaded.

Committed 791234d and pushed to 8.0.x and 8.1.x. Thanks!

  • alexpott committed 0fd8acd on 8.1.x
    Issue #2575387 by chrisfree, r_sharma08, hussainweb, sudhanshug, Cottser...

  • alexpott committed 791234d on
    Issue #2575387 by chrisfree, r_sharma08, hussainweb, sudhanshug, Cottser...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

prashant.c’s picture

brahmjeet789’s picture

brahmjeet789’s picture

cilefen’s picture