Samy Pessé
d40568c8f4
Fix OpenAPI tag in aside when text is long ( #2237 )
2024-03-26 14:02:17 +01:00
Samy Pessé
a6789513dc
Fix alignment and border around small images in a grid with captions ( #2229 )
2024-03-26 13:45:23 +01:00
Samy Pessé
ee7a74fe43
Fix VA redirects for nested paths ( #2236 )
2024-03-26 11:53:32 +01:00
Samy Pessé
0d99906774
Fix crash with concurrent loading of shiki syntaxes ( #2235 )
2024-03-26 11:30:38 +01:00
Greg Bergé
d3f9131af4
Support images & files in synced blocks ( #2234 )
2024-03-25 21:53:24 +01:00
Addison
30bae7c877
Add legacy references to readme ( #2233 )
2024-03-25 13:49:39 +01:00
Samy Pessé
0c99a57b3c
Also fix crossOrigin for images when zooming it ( #2232 )
2024-03-25 13:43:19 +01:00
Samy Pessé
ad9e8f2232
Fix authentication displayed for images ( #2231 )
2024-03-25 13:15:19 +01:00
Greg Bergé
4c286b503c
Fix fullPage screenshots ( #2230 )
2024-03-25 12:43:50 +01:00
Samy Pessé
c5a28f884a
Fix zoom on small images with custom zoom component ( #2228 )
2024-03-25 11:31:40 +01:00
Samy Pessé
2ed5445af8
Fix display of cover when TOC is hidden ( #328 )
...
* Add visual tests for page options
* Fix the case of a landing page
* Fix height of the aside when page has a cover
* Remove some visual tests
2024-03-22 23:46:35 +01:00
Samy Pessé
755291d1b7
Fix redirect for uppercased pathnames and fix og:image for collections ( #327 )
...
* Fix redirect for uppercased pathnames
* Try fixing it
* Try without metadataBase
* New try
* Fix it
* Try to fix og:image
* Generate canonical URL meta tag
2024-03-22 22:23:11 +01:00
Samy Pessé
7421d1c6c3
Cache getPublishedContentByUrl by tags ( #326 )
...
* Cache getPublishedContentByUrl by tags
* Reduce amount of cases returned by getURLLookupAlternatives
* Optimize lookup even more for revisions / change-requests
* Fix basePath for revisions / crs
2024-03-22 21:10:58 +01:00
Samy Pessé
ff773233dd
Prevent click on images in links to zoom it ( #324 )
...
* Prevent click on images in links to zoom it
* Fix TS
2024-03-22 16:56:08 +01:00
Samy Pessé
44983f8495
Minor perf improvements to code block highlighting ( #323 )
...
* Use a singleton map when loading languages
* typing
* Lint
* Remove one trace
2024-03-22 16:43:22 +01:00
Viktor Renkema
435ccb10ce
Fix tab truncation behaviour ( #322 )
2024-03-22 12:18:49 +01:00
Amrit Kahlon
ef8eb72364
fix: clear scalar api client response on close ( #318 )
...
* fix: clear scalar api client response on close
* bun install
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-03-21 14:53:29 +01:00
Samy Pessé
2a28f28421
Fix some links opening in new tab and links on blankslate ( #321 )
...
* Open links from TOC in same tab
* Fix page blankslate not resolving page links correctly
2024-03-21 14:11:42 +01:00
Samy Pessé
be45f23cc8
Use whitespace-pre to fix whitespace in highlighted text in search ( #320 )
...
* Use whitespace-pre to fix whitespace in highlighted text in search
* Correctly fix it
2024-03-21 13:10:58 +01:00
Brett Jephson
fff6dce8fc
RND-3192: images expanding card content beyond their width ( #281 )
...
* Fix for RND-3192: images expanding card content beyond their width
* Wrap Image in a size-restricting container
---------
Co-authored-by: Viktor Renkema <vrenkema@gmail.com >
2024-03-21 12:46:46 +01:00
Samy Pessé
cfcfbdf16c
Fix text/image alignment in cards ( #319 )
...
* Add a visual test
* Fix test
2024-03-21 12:15:58 +01:00
Samy Pessé
b029b1e23d
Fix display of advanced blocks in OL/Tasks lists ( #317 )
...
* Fix OL list style
* Format
* Fix it for tasks lists as well
* Default to fullPage
* Run some test without fullPage
* Run fullPage only on list
2024-03-21 09:50:18 +01:00
Samy Pessé
1dc81fc56a
Use absolute URLs in sitemap.xml ( #316 )
2024-03-20 23:58:57 +01:00
Samy Pessé
31799038dd
Improve rendering of complex emojis in favicon ( #315 )
...
* Improve rendering of complex emojis in favicon
* Lint
2024-03-20 19:25:42 +01:00
Samy Pessé
db4ecbc747
Fix long words in headings breaking the layout ( #314 )
2024-03-20 18:59:52 +01:00
Samy Pessé
0ad7bf561e
Let users extend the limit of PDF generation ( #313 )
...
* Add link to extend PDF generation limit
* Translate
* Use variable
2024-03-20 18:49:28 +01:00
Samy Pessé
dc2d50e455
Iterate over all keys in KV when purging cache instead of just first page ( #312 )
...
* Iterate over all keys in KV when purging cache instead of just first key
* Call getTagPrefix once
2024-03-20 18:48:17 +01:00
Addison
10fc27ba4e
Add README, License & Contributing Guide ( #153 )
...
* Initial commit, format
* Use codeblocks instead of inline code
* Add header
* Add badge, update placeholder for hero image
* Update badges and structure
* Add license
* Update badges
* Add contributing guide
* Add deployment guide
* Add license section
* Update header image
* Add image of deployed site
* Update readme
* remove deployment buttons
* formatting
* Add types of contributions
* format
* Add review suggestions
* Update badges
2024-03-20 17:26:44 +01:00
Samy Pessé
2e6e96728c
Fix logic to parse changeRequest URL in multi-id mode ( #311 )
2024-03-20 16:50:55 +01:00
Samy Pessé
e1de340fc5
Support URL routes to export PDF for a change-request / revision ( #310 )
...
* Support more URL patterns for "multi-id" mode
* Format
2024-03-20 15:43:29 +01:00
Samy Pessé
fc9238498d
Only use GITBOOK_TOKEN when request is using default API ( #309 )
...
* Only use GITBOOK_TOKEN when request is using default API
* Format
2024-03-20 10:40:38 +01:00
Samy Pessé
2420f9b730
Return private cache-control when receiving prefetch request ( #308 )
2024-03-20 00:17:59 +01:00
Samy Pessé
d12aad6867
Fix different flickering when navigating in docs ( #307 )
...
* Prevent scroll flickering when switching between page with scroll and no scroll
* Oups
* Remove id
* Apply only on large device and use variable
* Fix default
2024-03-19 20:51:16 +01:00
Samy Pessé
37be6f3164
Support options in the OpenAPI spec to control the look and feel ( #306 )
...
* Don't show code-samples if x-codeSamples is defined
* Support x-hideTryItPanel to hide "Try it"
* Fix display of code samples
2024-03-19 16:32:15 +01:00
Marc Laventure
4f039ecb2b
feat: add scalar api client ( #180 )
...
* wip
* feat: add scalar api client
* fix: pr feedback
* feat: add scalar react client package, remove vueary
* feat: add scalar proxy
* Move dependencies to package
* Format once
* Rename prop
* Use react context and simplify lazy loading
* Add loading state
* Format
* Move styles
* bun install
* bun
* fix: remove extraneous api-reference package
* feat: make operation functional with spec in client
* fix: column bug and http request type wrapping
* fix: add scalar api reference package
* Format
* bun install
* fix: scrolling in scalar modal
* Lazy load operations data in component
* fix: change dependency from api-reference to oas-utils to reduce size
* bun install
* Log error in the worker proxy
* Cleanup
* Comment "mode"
* Without credentials and referrerPolicy
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
Co-authored-by: Amrit <amrit@hockey-community.com >
2024-03-19 15:32:54 +01:00
Samy Pessé
71e993d0ca
Fix support for page redirects with uppercases ( #305 )
2024-03-19 14:37:45 +01:00
Samy Pessé
6695de7b79
Fix inline math not displayed with KaTeX ( #304 )
...
* Fix mathjax loading
* Fix inline math not being displayed
* Format
2024-03-19 12:39:53 +01:00
Samy Pessé
cf958bacd1
Fallback to MathJax when KaTeX fails to compile math ( #303 )
...
* Start
* Use MathJax v3
* Format
* Improve font-size
* Lint
* Better handle loading
* Copy MathJax assets to public folder
* Attempt at using local assets for MathJax
* Use bun 1.0.31
* Try with bun 1.0.33
* Try fixing headers
* Simplify
* Simplify and not use suspense module
* Cleanup more
* Add test for Math
* Make math block scroll if needed
* Update packages/react-math/src/KaTeX.tsx
Co-authored-by: Greg Bergé <berge.greg@gmail.com >
* Use React.use
* Format
* Use exports
* Lint
* Disable cache in CI for lint
* Format
---------
Co-authored-by: Greg Bergé <berge.greg@gmail.com >
2024-03-19 11:34:53 +01:00
Samy Pessé
85a32fda4f
Wrap RocketLoaderDetector in DOMContentLoaded ( #302 )
2024-03-18 19:35:31 +01:00
Samy Pessé
706aa42a6e
Fix RocketLoaderDetector being encoded ( #301 )
...
* Fix RocketLoaderDetector being encoded
* suppressHydrationWarning
* Show alert at the top of the page
2024-03-18 19:14:54 +01:00
Samy Pessé
4dcca8b3ec
Pass the nonce to the RocketLoaderDetector ( #300 )
2024-03-18 18:42:56 +01:00
Samy Pessé
d0b92dd408
Improve text displayed in mention for anchor content refs ( #287 )
...
* Resolve anchor content reference to the block text for mentions
* Only apply it for mentions/etc, where text is needed
* Handle tabs/expandable
* Rename to resolveAnchorText
2024-03-18 18:16:53 +01:00
Greg Bergé
718452728f
Detect Rocket Loader and advert about it on docs ( #295 )
2024-03-18 17:33:26 +01:00
Greg Bergé
9b6d34bdbc
Remove screenshot from AI result ( #298 )
...
Not possible to have it stable
2024-03-18 15:53:41 +01:00
Greg Bergé
3c96bf84b5
Upgrade Argos ( #296 )
...
* Upgrade Argos
* Wait for cookie dialog, avoid fullPage if not needed
* Fix E2E
* Cookies dialog
2024-03-18 15:30:45 +01:00
Greg Bergé
cc4a86cc23
Fix ordered list display ( #294 )
...
* Fix ordered list display
* Cover lists in E2E
2024-03-18 15:26:43 +01:00
Greg Bergé
c87197bb98
Replace shikiji by shiki ( #297 )
2024-03-18 15:11:22 +01:00
Valentino Hudhra
69dcf75083
Align loading skeleton with content ( #288 )
2024-03-18 14:48:40 +01:00
Samy Pessé
66dcaf850f
Ignore all errors for rendering integration blocks ( #293 )
2024-03-18 12:08:49 +01:00
Greg Bergé
5f70ed73b9
Fix page cover display ( #291 )
...
* Fix page cover display
Make it always looks good with the recommended size of 1990x480.
* Take maximum size on mobile
* Stabilize visual testing
2024-03-18 11:04:28 +01:00