Jesse van Herk
a21967518c
Fix browsing file names with percent-encoded @
...
This adds an encode method into the javascript code so that
users can browser the Godot docs for @GlobalScope and @GDScript.
The bug was mentioned in:
https://github.com/freeCodeCamp/devdocs/pull/1853
This adds the encoding on the frontend, rather than trying to override
filename generation in scrapers. It's possible that this will impact
other documentation sources, but I expect those would also need to have
encoded the @ as %40 in their own docs.
This doesn't use JS' encodeURI or encodeURIComponent because encodeURI
doesn't include @, and encodeURIComponent includes / which we don't
want. If there are other URL-reserved characters
that would be useful to encode, those should be easy enough to add to
the short method added here.
9 months ago
Simon Legner
d774d064ec
Add playwright documentation
1 year ago
Simon Legner
ae193f5194
Add htmx documentation
1 year ago
Simon Legner
89ee4c589d
Prefer <img> for img.shields.io/github/stars/freeCodeCamp/devdocs.svg
1 year ago
Simon Legner
55b0da7b7e
Merge pull request #2108 from supersational/hammerspoon
...
add Hammerspoon docs
1 year ago
Simon Legner
db4037be5a
hammerspoon: add news entry
1 year ago
Simon Legner
07d88233f8
It's 2024
...
Closes #2114 .
1 year ago
Simon Legner
86f533be0a
Fix this.findAllByTag(...).filter is not a function
1 year ago
Simon Legner
fe329d6aae
Use pointer-events w/o fallback
...
https://caniuse.com/pointer-events
1 year ago
Simon Legner
aeb9f8037f
Fix initEvent method deprecation
...
https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent
1 year ago
Simon Legner
0f497e57c8
Use window.requestAnimationFrame w/o fallback
...
https://caniuse.com/requestanimationframe
1 year ago
Simon Legner
ff7a10c003
Use spread syntax
...
https://caniuse.com/mdn-javascript_operators_spread
1 year ago
Simon Legner
416363a551
app.ServiceWorker: super()
1 year ago
Simon Legner
9f87a459eb
Use const, use arrow callbacks
1 year ago
Simon Legner
82fd7e6547
Use Array.includes and String.includes
1 year ago
Simon Legner
f364659d97
Use optional chaining operator ?.
...
https://caniuse.com/mdn-javascript_operators_optional_chaining
1 year ago
Simon Legner
eea754d19a
ajax: do not clutter global
1 year ago
Simon Legner
228090ad83
ajax: use Object.entries
1 year ago
Simon Legner
e5fcde09f9
Sanity-check decaffeinate the rest
1 year ago
Simon Legner
4177026c11
Sanity-check decaffeinate app.views.BasePage
1 year ago
Simon Legner
2dd04a82d8
Sanity-check decaffeinate app.views.Content
1 year ago
Simon Legner
29b0916af0
Sanity-check decaffeinate app.View
1 year ago
Simon Legner
3ea1050e17
Sanity-check decaffeinate app.templates.helpPage
1 year ago
Simon Legner
bcb6f896b5
Sanity-check decaffeinate app.templates.aboutPage
1 year ago
Simon Legner
b4cf756669
Sanity-check decaffeinate app.templates.render
1 year ago
Simon Legner
925732669e
Sanity-check decaffeinate util
1 year ago
Simon Legner
c1a424f7e1
Sanity-check decaffeinate class CookiesStore
1 year ago
Simon Legner
c595b2ba9d
Sanity-check decaffeinate app.Shortcuts
1 year ago
Simon Legner
3276b2637f
Sanity-check decaffeinate class Events
1 year ago
Simon Legner
04d167c9e0
Sanity-check decaffeinate ajax
1 year ago
Simon Legner
262a0b9d56
Sanity-check decaffeinate app.collections.Types
1 year ago
Simon Legner
6f5beacfc4
Sanity-check decaffeinate app.Collection
1 year ago
Simon Legner
c022a29fab
Sanity-check decaffeinate app.UpdateChecker
1 year ago
Simon Legner
8103c2899d
Sanity-check decaffeinate app.DB
1 year ago
Simon Legner
dc3dd67bca
Sanity-check decaffeinate class App
1 year ago
Simon Legner
a945db9bd4
Sanity-check decaffeinate app.views.ListFold
1 year ago
Simon Legner
5f63145de1
Sanity-check decaffeinate app.Settings
1 year ago
Simon Legner
bbadf5f228
Sanity-check decaffeinate app.views.Search
1 year ago
Simon Legner
cf412bd81f
Sanity-check decaffeinate app.views.Results
1 year ago
Simon Legner
92b182806b
Sanity-check decaffeinate app.views.RdocPage
1 year ago
Simon Legner
1de76bc99d
Sanity-check decaffeinate page
1 year ago
Simon Legner
efb3697622
Sanity-check decaffeinate app.Searcher
1 year ago
Simon Legner
978d4a9f64
Sanity-check decaffeinate app.views.Sidebar
1 year ago
Simon Legner
49dbba3de3
Sanity-check decaffeinate app.views.DocPicker
1 year ago
Simon Legner
b201fb269f
Sanity-check decaffeinate app.views.SupportTablesPage
1 year ago
Simon Legner
64242c04fe
Sanity-check decaffeinate app.views.HiddenPage
1 year ago
Simon Legner
4c1a48059f
Sanity-check decaffeinate app.views.Document
1 year ago
Simon Legner
a1713ed4ac
Sanity-check decaffeinate app.views.TypeList
1 year ago
Simon Legner
6df17da955
Sanity-check decaffeinate app.views.SidebarHover
1 year ago
Simon Legner
38b3a95de4
Sanity-check decaffeinate app.views.EntryList
1 year ago