Matthew Butterick
173f9376ea
respect the setting of `setup:render-cache-active` for template caching
...
templates were being cached regardless of the value of `setup:render-cache-active` because its value wasn’t being tested
2 years ago
Matthew Butterick
d019908a93
update link in docs
2 years ago
Matthew Butterick
446c5fd39f
render-batch: add explicit `output-paths` keyword argument
2 years ago
Matthew Butterick
00a96f4fda
report the exception message when an error occurs
...
When a cache preheat or render fails, print the exception message that arose, which might be more helpful than the current policy of silence
2 years ago
Matthew Butterick
39cfc2ed54
in cache key, treat environment variables as case-sesnsitive
...
The cache is supposed to take note of the `POLLEN` environment variable, but due to the spurious `string-downcase` here, was instead looking at `pollen`, which is a different key on case-sensitive systems. Windows environment variables are not case-sensitive, but it seems Racket’s `getenv` function will handle the case conversion as needed.
2 years ago
Matthew Butterick
816ce0f7af
fix link in docs
3 years ago
Matthew Butterick
58e02d4eee
add note about DrRacket appending a `rkt` file extension to `p` files (addresses #264 )
3 years ago
Matthew Butterick
cf7fbccc90
manually propagate `current-project-root` to parallel threads
...
When recursive mode is used, `current-project-root` changes during the extent of a render operation. But if parallel rendering is also used, when the main thread re-parameterizes `current-project-root`, it will have no effect on the parallel threads, because they freshly instantiate `current-project-root` (with its default value). This patch moves the parameterization inside the parallel thread by passing the `current-project-root` value as part of the job message, thereby handling it the same way as `current-poly-target`.
3 years ago
Matthew Butterick
9a92ceaf19
contributor covenant
3 years ago
Matthew Butterick
c46bee02cd
add tip about current-metas
3 years ago
Matthew Butterick
a4910a86dc
hook for external renderer
3 years ago
Matthew Butterick
a7b55e230a
raise filesystem errors
3 years ago
Matthew Butterick
36f075edba
handle 'relative directory correctly ( fixes #252 )
3 years ago
Matthew Butterick
6adebb8368
suppress testing of mode-indentation
3 years ago
Matthew Butterick
293fd274f8
expose `find-nearest-default-directory-require` ( #251 )
3 years ago
Matthew Butterick
63a92b2953
fix pagetree->path ( closes #249 )
...
Pagetree promises that its nodes will be resolved relative to the directory where the pagetree lives. For path-based pagetrees, make sure this directory is set correctly.
3 years ago
Matthew Butterick
1210e1b31d
move more help docs to end of installation docs
3 years ago
Matthew Butterick
665e390f4b
remove CS note
3 years ago
Matthew Butterick
902956feaf
better explanation of splicing tag
3 years ago
Matthew Butterick
4ec5172acc
update margin note ( #246 )
3 years ago
Matthew Butterick
10b392c503
remove obsolete example ( #246 )
3 years ago
Matthew Butterick
d86d0a00e8
trap fewer exceptions
3 years ago
Matthew Butterick
9a838418e7
clean up pollen/mode
3 years ago
Matthew Butterick
bd23f651fb
omit DS_Store
3 years ago
Bogdan Popa
6cd57203c1
start command: fix default value for port ( #244 )
...
* start command: fix default value for port
Defaulting the port to "8080" at the `command-line' level breaks
customization via `pollen.rkt'.
* test-project-port: connect to server to verify that it's up
4 years ago
Bogdan Popa
c02eab7b90
improve failure handling in `start' command ( #242 )
...
* project-server: detect and report failures during startup
* start command: display [<dir>] and [<port>] in help text
4 years ago
Matthew Butterick
cb2930eafe
adjust
4 years ago
Matthew Butterick
ae4aaefba1
simplify more paths
4 years ago
Matthew Butterick
5e5dc5d9fd
handle relative path correctly ( fixes #241 )
4 years ago
Matthew Butterick
9bd067552d
adjustment
4 years ago
Matthew Butterick
1f1bee90fd
correct pagetree rendering ( fixes #237 )
4 years ago
Matthew Butterick
e434406b46
more flexible test
4 years ago
Matthew Butterick
8a8e497bfe
correction: that fixes #237
4 years ago
Matthew Butterick
bd154d2a2d
correct contract in docs ( fixes #234 )
4 years ago
Matthew Butterick
d96a9d9809
disable template cache in interactive session
4 years ago
Shrutarshi Basu
123547f3cb
More robust interface to Pygments ( #230 )
4 years ago
Matthew Butterick
648b261079
move a documentation macro
4 years ago
Matthew Butterick
9bb15456c1
dead souls
4 years ago
Matthew Butterick
6d04ec875a
never learn
4 years ago
Matthew Butterick
a5c88d4e88
doc typo ( fixes #227 )
4 years ago
Matthew Butterick
790c166b5a
make subdir a complete path ( closes #228 )
4 years ago
Matthew Butterick
cf9b81738a
downgrade two more settables
4 years ago
Matthew Butterick
3e4dffcf5c
break the loading loop
4 years ago
Matthew Butterick
68e81a114e
fix names in docs
4 years ago
Matthew Butterick
32e14bee7b
lozenge clarity
4 years ago
Matthew Butterick
f094d89902
fix build
4 years ago
Matthew Butterick
912ba088bf
downgrade certain setup values to constants & bump to 3.0 ( #225 )
4 years ago
Matthew Butterick
67c0c95422
Revert "timeout error"
...
This reverts commit 8d210c6d13
.
4 years ago
Matthew Butterick
8d210c6d13
timeout error
4 years ago
Matthew Butterick
85ac0cdfab
comment
4 years ago