Commit Graph

356 Commits

Author SHA1 Message Date
Dave Pearson
7676a6cf4c Trailing whitespace cleanup 2022-10-13 14:45:54 +01:00
Dave Pearson
bd43f0466a Harmonise the tutorial's markup of filenames
In some cases filenames where `marked-up.py`, in other cases they were
"marked-up.py", and in some cases they were just mentioned with
no-markup.py. This commit seeks to make all filename mentions, in text, the
same.
2022-10-13 14:41:10 +01:00
Dave Pearson
a342a2cb53 Add code markup to the mention of a class name 2022-10-13 14:37:03 +01:00
Dave Pearson
d6a2c88713 Add code markup to a number of code-oriented things in a line 2022-10-13 14:35:39 +01:00
Dave Pearson
45db071bb5 Add missing end quote to a string 2022-10-13 14:32:20 +01:00
Dave Pearson
1dbde34b40 Add code markup a string that is a class
Elsewhere a string that is a class is marked up this way, so let's follow
that earlier standard.
2022-10-13 14:31:32 +01:00
Dave Pearson
86b5612c9f Lower-case mention of stopwatches
This looks more like it's been used as a normal word, rather than as a
plural for the class.
2022-10-13 14:28:04 +01:00
Dave Pearson
be36c55d37 Add code markup to the mention of a class name 2022-10-13 14:26:44 +01:00
Dave Pearson
ed20f4a8e6 Add code markup a string that is a widget ID
Elsewhere in the docs we see `"something"` for a class, so I feel it follows
that "#something" should really be `"#something"` too.
2022-10-13 14:23:26 +01:00
Dave Pearson
e109599a97 Add code markup to the mention of a class name 2022-10-13 14:21:39 +01:00
Dave Pearson
758ddfa86f Add code markup to the mention of a method name 2022-10-13 14:20:41 +01:00
Dave Pearson
50fb723965 Add code markup to the mention of a class name 2022-10-13 14:19:50 +01:00
Dave Pearson
2e25c894e3 Add code markup to the mention of a class name 2022-10-13 14:18:23 +01:00
Dave Pearson
82499c31e7 Capital at the start of a sentence 2022-10-13 14:16:24 +01:00
Dave Pearson
93e403c8dc Mark mention of Widget as a class as code 2022-10-13 14:11:12 +01:00
Dave Pearson
a90a2fd728 Correct the name of mypy
It seems that mypy's preference for its name is mypy (or even my[py]), but
not Mypy.
2022-10-13 13:45:34 +01:00
Dave Pearson
91a13406e6 Remove trailing whitespace
Including one instance that I wouldn't have, but the pre-commit hooks have,
and it seems fine.
2022-10-13 13:41:10 +01:00
Dave Pearson
bf1ad06edb Merge pull request #888 from davep/css-docs-screen-import
Modify the screen examples to import Screen from textual.screen
2022-10-13 11:12:07 +01:00
Dave Pearson
7360e226c1 Correct the highlighted lines
I'd not realised that
78ea2cd9f8
would have a visible knock-on effect in the docs, because the docs specify
which lines should be highlighted. As per this comment
https://github.com/Textualize/textual/pull/888#issuecomment-1277298383 this
corrects that.
2022-10-13 11:03:53 +01:00
Dave Pearson
f127506e60 Remove some trailing whitespace 2022-10-13 11:03:17 +01:00
Dave Pearson
78ea2cd9f8 Modify the screen examples to import Screen from textual.screen
The surrounding text in the documentation states that Screen is imported
from textual.screen, but the code was importing the class from textual.app.
Further, I was getting warnings from pyright that I was using a class that
wasn't exported from the module I was importing from.
2022-10-13 09:10:40 +01:00
Aaron Stephens
b9493ae6ff docs: typos 2022-10-12 17:34:29 -07:00
Will McGugan
010ccbcd6d Merge pull request #868 from Textualize/document-links
Document links
2022-10-12 15:31:35 +01:00
Will McGugan
1da5c297ad Merge pull request #859 from davep/layout-typo-squish
Typo fix: `styles` belong to a widget
2022-10-11 15:00:25 +01:00
Darren Burns
50bd8f3ec2 Add a TODO 2022-10-11 11:34:53 +01:00
Darren Burns
3619b8f27a Make example link italic in dos 2022-10-11 11:26:04 +01:00
Darren Burns
ba94892bdd Remove CSS that wasnt needed 2022-10-11 11:22:46 +01:00
Darren Burns
f6452bbbd5 Styles documentation for links properties 2022-10-11 11:22:24 +01:00
Will McGugan
47effaddbb Merge pull request #853 from Textualize/document-comma-separated-bindings
Documenting comma-separated bindings in docstring and guide
2022-10-10 10:05:31 +01:00
Dave Pearson
3f08e50261 Typo fix: styles belong to a widget 2022-10-09 21:11:30 +01:00
Dave Pearson
2275129752 Fix typo of 'a' for 'an' 2022-10-09 20:36:13 +01:00
Dave Pearson
4df4da2455 Fix typo of 'which' for 'with' 2022-10-09 20:35:11 +01:00
Dave Pearson
dfa05466e8 Add missing 'to' 2022-10-09 20:34:03 +01:00
Dave Pearson
37e9982348 Trailing whitespace trimming
As a commit of its own so it doesn't obscure any real change.
2022-10-09 20:32:23 +01:00
Will McGugan
9c7a48fc13 words 2022-10-09 16:11:16 +01:00
Will McGugan
d4db0ea4e0 queries docs 2022-10-08 22:27:47 +01:00
Will McGugan
e2ea2cf7ef Merge pull request #854 from Textualize/styles-css-property-fixes-updates
Fix issues with `Styles.css`, update "Grid" styles doc page
2022-10-08 16:02:12 +01:00
Will McGugan
4ff99bc72c remove hack 2022-10-08 14:55:01 +01:00
Will McGugan
23bc50e625 fix title 2022-10-07 21:56:54 +01:00
Will McGugan
f02ac034fe drawing 2022-10-07 21:07:03 +01:00
Will McGugan
cf14b812ed words 2022-10-07 21:05:20 +01:00
Will McGugan
f2f13eacf0 proof reading 2022-10-07 18:00:35 +01:00
Will McGugan
66a4e08955 words 2022-10-07 17:20:26 +01:00
Will McGugan
0ed13d393f Update docs/tutorial.md 2022-10-07 16:38:46 +01:00
Darren Burns
3185ce2b80 Rewording 2022-10-07 15:03:17 +01:00
Darren Burns
143332efd5 Add example to grid styles docs, rename it 2022-10-07 14:59:37 +01:00
Darren Burns
cbfa1e7a69 Fix typo 2022-10-07 12:38:23 +01:00
Darren Burns
c7e8fe3502 Fix typo 2022-10-07 12:37:43 +01:00
Darren Burns
79c5abca4a Documenting comma-separated bindings in docstring and guide 2022-10-07 12:33:13 +01:00
Mike Driscoll
317c2c60e1 Fix minor readability issue in modifying CSS class 2022-10-06 13:30:49 -05:00