Commit Graph

210 Commits

Author SHA1 Message Date
Will McGugan
cb03076a97 added color docs 2022-11-05 14:52:01 +00:00
Sayandip Dutta
e2935af8d6 chore(docs): Fixed typo
follow by -> followed by
2022-11-02 21:56:38 +05:30
darrenburns
bbd811d671 Support multiple CSS files (#1079)
* Support multiple CSS paths

* Update a type to match docstring

* Ensure the demo app still works

* Use absolute paths in tests to (hopefully) appease Windows

* Notes about CSS changes in guide/docstrings, small grammar/typos fixes

* Move snapshot apps into snapshot_tests dir, improve messaging in snapshot output, add test for multiple css files interacting with classvar CSS

* Ensure consistent snapshot naming cross-platform

* Use rpartition instead of partition in import_app

* Fix handling of import_app when colon in arg

* Support paths containing Windows drive names in import_app

* Add note on new relative paths in snap_compare

* Update docs/guide/CSS.md

Co-authored-by: Will McGugan <willmcgugan@gmail.com>

* Fix formatting

* Update CHANGELOG to mention CSS_PATH supporting a list

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2022-11-01 17:13:25 +00:00
Dave Pearson
dcf1784676 Merge pull request #1017 from UriyaHarpeness/feature/fix-some-inaccuracies-in-the-tutorial
Fix some inaccuracies in the tutorial.
2022-10-31 13:11:02 +00:00
Darren Burns
47c5a22b31 Docs change, as per code review request 2022-10-31 12:43:30 +00:00
UriyaHarpeness
ad47b9167e Fix some typos in docs. 2022-10-26 08:39:36 +03:00
Darren Burns
b6e19d5c30 Add note to docs about always_update 2022-10-25 14:39:39 +01:00
Michael Bridak
9d76c8c65e Typo... 2022-10-24 12:30:58 -07:00
Dave Pearson
76e9654535 Merge pull request #958 from davep/toll-free
Review the use of the bell in various examples and documentation files
2022-10-19 15:56:21 +01:00
Dave Pearson
836a4e5291 Correct the file included for the second key example
Not an issue with removing the bell, actually a pre-existing mistake in the
docs. The wrong file was being included.
2022-10-19 15:24:44 +01:00
Dave Pearson
f648457c1e action03 doesn't ring the bell on button press any more 2022-10-19 15:21:22 +01:00
Dave Pearson
5c5ca3316f Remove the bell from the actions02 documentation example 2022-10-19 14:43:37 +01:00
Dave Pearson
f5ce603d43 Remove the bell from the actions01 documentation example 2022-10-19 14:41:13 +01:00
Matt Rixman
6a47d82330 Fix typo in devtools.md
forgotten so install -->  forgotten to install
2022-10-17 09:26:38 -06:00
darrenburns
45e5658aea Mention ordering of superpower methods in docs (#935) 2022-10-17 15:48:16 +01:00
Will McGugan
46208ef905 Merge branch 'css' into mount-wait 2022-10-17 09:36:15 +01:00
Dave Pearson
c32dbda297 Merge pull request #923 from davep/css-docs-review-screens
CSS docs review - Screens
2022-10-15 22:37:15 +01:00
Dave Pearson
a20dbbe325 Drop the
This could either be dropping `the`, as I've done here, or perhaps adding
something like `approach` after `SCREENS`. I feel one or the other is needed
to make this flow well.
2022-10-15 22:26:19 +01:00
Dave Pearson
bdbdb62fd0 Code markup Screen 2022-10-15 22:25:16 +01:00
Dave Pearson
f14f09d80a Add 'a' and code-markup dict 2022-10-15 22:24:36 +01:00
Dave Pearson
5f97884798 associated -> associate 2022-10-15 22:21:18 +01:00
Dave Pearson
c856ab3e38 screen -> key 2022-10-15 22:20:24 +01:00
Dave Pearson
78af99e780 an -> a 2022-10-15 22:14:07 +01:00
Dave Pearson
c670fc6960 Add as 2022-10-15 22:11:26 +01:00
Dave Pearson
f898fee1d1 Remove trailing whitespace 2022-10-15 22:09:39 +01:00
Dave Pearson
799a769f3e Add code markup to mention of the Table class 2022-10-15 22:02:19 +01:00
Dave Pearson
3992b1e7d3 intent -> intend 2022-10-15 21:57:52 +01:00
Dave Pearson
4fb9dcd257 an -> a 2022-10-15 21:57:03 +01:00
Dave Pearson
338eca9e10 it's -> its 2022-10-15 21:54:29 +01:00
Dave Pearson
237d17ff16 Remove trailing whitespace 2022-10-15 21:51:53 +01:00
Dave Pearson
67d722507b Remove unnecessary 'the' 2022-10-15 18:25:59 +01:00
Dave Pearson
09fe0077ed Add missing code markup marker 2022-10-15 18:23:52 +01:00
Dave Pearson
1805dd7abb 'follow' -> 'following' 2022-10-15 18:23:27 +01:00
Dave Pearson
c159b434b5 Singular attribute to attributes
If there's multiple...
2022-10-15 18:18:29 +01:00
Dave Pearson
306580ec93 'a' -> 'an'
This one could go either way, I guess. If most folk read __init__ like I
do, simply as the word "init" then this is needed; likewise if they say the
underscore, on the other hand if folk tend to go with dunder-init...)

I may recant this depending on the result of this:

  https://twitter.com/davepdotorg/status/1581331978049052672
2022-10-15 18:07:24 +01:00
Dave Pearson
0a7b7dd1fd Remove trailing whitespace 2022-10-15 18:04:17 +01:00
Dave Pearson
bef450dc4c Merge pull request #904 from davep/css-docs-review-styles
CSS docs review - Styles
2022-10-15 17:59:24 +01:00
Dave Pearson
fa24296fe0 Merge pull request #915 from davep/css-docs-review-input
CSS docs review - Input
2022-10-15 17:49:54 +01:00
Dave Pearson
7d782e5e31 Merge pull request #916 from davep/css-docs-review-actions
CSS docs review - Actions
2022-10-15 17:47:56 +01:00
Will McGugan
7f77e9a0a1 Update docs/guide/input.md 2022-10-15 13:10:13 +01:00
Will McGugan
8982d88f9e simplify compose 2022-10-15 13:07:15 +01:00
Dave Pearson
95a1b83160 Make the bell belong to the terminal 2022-10-15 10:09:37 +01:00
Dave Pearson
d7dc8d2203 Remove 's' from 'symbols' 2022-10-15 10:08:24 +01:00
Dave Pearson
9527248bc0 Remove 's' from 'strings' 2022-10-15 10:07:23 +01:00
Dave Pearson
b6e27ac6f7 Clean trailing whitespace 2022-10-15 10:02:34 +01:00
Dave Pearson
cc2e9f6218 Merge pull request #906 from davep/css-docs-review-CSS
CSS docs review - CSS
2022-10-15 08:41:36 +01:00
Dave Pearson
079e2a304a Correct the names for the mouse scroll events
The links were correct, but the text for the link was wrong.
2022-10-15 08:39:36 +01:00
Dave Pearson
32f4f62587 Add 'the' before 'window'
I guess 'a' could work here too.
2022-10-15 08:37:59 +01:00
Dave Pearson
cf5cc9832f Try and finish what looked like an unfinished line
I'm not 100% sure if it makes sense to say "pressed" or "held down" here;
I'm going with "held down" as pressed sort of suggests something a bit
different. Mostly this change here is to highlight that this thought seems
unfinished.
2022-10-15 08:34:30 +01:00
Dave Pearson
e127ee6dc5 Add code markup to a class name 2022-10-15 08:31:05 +01:00