GithubHelp home page GithubHelp logo

Writing Specification about sanic-guide HOT 7 OPEN

sanic-org avatar sanic-org commented on May 9, 2024 2
Writing Specification

from sanic-guide.

Comments (7)

miss85246 avatar miss85246 commented on May 9, 2024 1

@smlbiobot You're right. I didn't notice this. I'll correct it later and add it to the Writing Specification.

from sanic-guide.

miss85246 avatar miss85246 commented on May 9, 2024

This is all my thoughts for the time being. If you have any good suggestions, please let me know and we can discuss them further.

from sanic-guide.

ZinkLu avatar ZinkLu commented on May 9, 2024

A good guideline for a official documents.

I wonder if there are tools that can help us format or check contents as yapf or pylint in python. It's could be more and more difficult to follow with increments of translated language and contributors.

from sanic-guide.

miss85246 avatar miss85246 commented on May 9, 2024

I recommend using Markdown All in one plugin in vscode or useing Markdown plugin in Jetbrains eidtors. they are support markdownlint.

from sanic-guide.

smlbiobot avatar smlbiobot commented on May 9, 2024

I’d suggest having a punctuation style for lists. e.g. I personally prefer always using . periods to end each item, some prefer leaving it. They can be either, but they should be consistent.

Your issue actually is inconsistent about this:

1. Heading levels should only increment by one level at a time
2. First heading should be a top-level heading
3. Clear separation of paragraphs
4. Every sentence should end with appropriate punctuation marks.
5. please don't end with empty line in code block.
…

So it probably should be:

1. Heading levels should only increment by one level at a time.
2. First heading should be a top-level heading.
3. Clear separation of paragraphs.
4. Every sentence should end with appropriate punctuation marks.
5. Please don't end with empty line in code block.
…

This is generally my preference:

  • Always use a . (period / full stop) for sentences.
  • You can use no punctuations if it’s a quick list of one-word items.
  • Always start sentences / items in Title Case.

from sanic-guide.

smlbiobot avatar smlbiobot commented on May 9, 2024

Here are some of the more possibly mundane thoughts but that I think would be an improvement.


Do you often encounter problems during use sanic ?

Do you often encounter problems during use Sanic?
  • Remove space between sanic and ?
  • Determine if Sanic should always be spelled lower case or title case when referred in sentences. I personally think that Sanic as a name should always be title case, but when referenced in code and as a package, then it should be used in lowercase but for that use ideally surround with sanic inline code-block.

yes, but I can find the solution from sanic froums.

  • typo for forums

you can add it again, again, again...

  • Prefer real ellipsis over three dots ... (these are typographic decisions. It usually doesn’t bother developers. But if I’ve found docs that are written with this much care in them, I tend to note that and appreciate the project more!

This is same for when the docs use real curly quotes (another typographic thing):

Instead of:

"That's a 'magic' shoe."

Write:

“That’s a ‘magic’ shoe.”

This example is from https://typographyforlawyers.com/straight-and-curly-quotes.html — a great article if you have no idea what I’m talking about!

from sanic-guide.

miss85246 avatar miss85246 commented on May 9, 2024

@smlbiobot Sorry, I'm busy moving these days.
It‘s overturn my idea 😮.
In my impression, English has always been must used the straight single quote (') and the straight double quote (").
I didn't know that opening quote and closing quote are also used in English until today 😲.
please don't laugh at my ignorance, I really don't know 😢 .
thanks for your suggestion, It’s let me learn a lot.
I will sort it out and continue to accept your opinions. 😃

from sanic-guide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.