Erick Zhao
789b4e5643
fix: whole word only discord link replacing ( #5936 )
2022-05-30 17:11:13 -07:00
Erick Zhao
db2f4d3ef2
fix: replace stale discord links ( #5897 )
2022-02-07 09:17:19 -08:00
Erick Zhao
0ed11b3751
chore: remove spectron page ( #5745 )
2021-11-15 11:17:22 -08:00
Antón Molleda
1baacbc7b4
fix: redirects to old docs
...
The previous code didn't handle when there were multiple parts on a path
to docs.
Signed-off-by: Antón Molleda <amolleda@gmail.com>
2021-10-12 12:04:03 -07:00
Antón Molleda
335242532a
chore: redirect to new docs site for any route
...
Redirect to `/latest/` routes now that the localized content is
available.
2021-10-12 10:47:45 -07:00
Antón Molleda
8d3206c67b
chore: update doc links to localized versions
2021-10-11 14:27:25 -07:00
Antón Molleda
dfaced50ce
chore: deprecate blog routes
...
The blog is moving to the new infrastructure. This PR deletes all the
posts, leaves a note, and makes sure the related routes do not render
anything even though they will never be hit in production after Fastly
is updated.
2021-09-14 11:01:49 -07:00
Samuel Attard
3cf389c594
build: switch to yarn and update some dependencies ( #5568 )
2021-07-30 14:48:28 -07:00
Keeley Hammond
fccfa8f220
chore: add support for alpha releases ( #5551 )
2021-07-28 16:06:26 -07:00
Antón Molleda
7d1fa0678b
feat: add correct link to article in new site
...
Thanks to the changes in electronjs.org-new we can now generate a
direct link to the exact article a user is visiting to make the
transition from one to another easier.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rel cf657d5f30
2021-07-23 11:38:28 -07:00
Antón Molleda
df4281459a
chore: add max-age header ( #5228 )
2021-03-15 15:26:19 -07:00
Antón Molleda
9e4cb8ad4f
chore: hash images ( #5219 )
...
* chore: hash images
* Apply suggestions from code review
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
* Use posix separator so globby works
* Fixing precompile on Windows
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2021-03-15 15:10:16 -07:00
Samuel Attard
396dc6bdd6
build: use hashed assets for CSS and JS in prod ( #5190 )
2021-03-04 14:47:18 -08:00
Antón Molleda
82acbf2cfa
feat: HaTS survey ( #5153 )
...
This adds integration with surveymonkey.com so we can run the feedback
surveys.
There is a middleware feedback that is added in all `/docs` routes that
checks if the user should get the CTA to fill the survey. The criteria
is:
- There is a survey running
- No popup in the last 90 days
- Shows only to 8% of the users
This middleware injects some variables in the handlebars context that
are then read by the partial `feedback.hbs` that adds the right code to
show the content.
2021-03-03 10:14:55 -08:00
Nastya Antonenko
ed7a270a73
refactor: migrate from browserify to webpack ( #4764 )
...
Co-authored-by: HashimotoYT <hashimoto.stream@gmail.com>
2021-01-08 11:36:33 -08:00
Felix Rieseberg
4ae62a1a69
feat: Add Fiddle download buttons
2021-01-06 12:52:17 -08:00
Erick Zhao
e1a3cd3b5c
chore: add quickstart redirect ( #4728 )
2020-11-05 13:17:34 -08:00
Vlad Hashimoto
87ae9025b4
fix: disable the referrerPolicy header ( #4469 )
2020-09-04 20:57:56 +03:00
dependabot-preview[bot]
83b388ee7c
build(deps): bump helmet from 3.23.3 to 4.1.0 ( #4379 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: HashimotoYT <hashimoto.stream@gmail.com>
2020-08-18 04:57:27 +03:00
Vlad Hashimoto
1512338dbc
chore: switch from process.env.HOST to generic getting of hostname ( #4264 )
2020-07-23 01:44:18 +03:00
Vlad Hashimoto
87c8871c6b
refactor: rename `.html` to `.hbs` ( #4222 )
...
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2020-07-14 04:19:13 +03:00
Felix Rieseberg
31a275d3c1
fix: Undo grayscale, add blm page ( #4126 )
2020-06-22 15:46:24 -07:00
Vlad Hashimoto
bf7e65cff3
chore: switch from standard to eslint + prettier ( #3932 )
...
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2020-06-04 00:54:45 +03:00
Samuel Attard
6ad9c41238
fix: redirect breaking-changes page to new up-to-date URL ( #3605 )
2020-02-26 14:59:38 -08:00
Vlad Hashimoto
b8fcca391c
feat: add error when uses class instead of className for octicons ( #2701 )
...
* feat: add error when uses class instead of className for octicons
* Update server.js
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2020-02-13 21:53:09 +02:00
Vlad Hashimoto
8eb0021b23
chore: include http://localhost to post run message ( #3403 )
...
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2020-01-22 15:18:50 -08:00
Samuel Attard
fc16b47381
Update server.js
2020-01-22 07:43:20 -08:00
Samuel Attard
8a1fc5ca86
chore: update maintainers join form URL ( #3072 )
2019-10-24 10:40:22 -07:00
Vlad Hashimoto
7ffd0e4617
refactor: add octicons helper to use his from svg ( #2577 )
2019-05-31 20:47:24 +03:00
Vlad Hashimoto
01033c465c
feat: add Electron hosted headers redirect ( #2522 )
...
* feat: add Electron hosted headers redirect
* style: prettier
* test: add tests
2019-05-16 13:33:32 -07:00
Shelley Vohr
89a3a22d36
fix: persist cookie for language choice ( #2395 )
...
Fixes #2394 .
Adds back a max cookie age so that the language choice isn't forgotten after browser is closed and reopened.
2019-04-04 16:36:09 -07:00
Michelle Tilley
d1f0edfeca
feat: use cmark-gfm for rendering blog posts ( #2160 )
2019-03-18 15:11:01 -07:00
Vlad Hashimoto
60c46421f4
feat: create Governance landing page ( #2277 )
2019-03-18 13:49:00 -07:00
Michelle Tilley
7eea09be86
feat: precompile assets on build ( #2091 )
2019-02-14 12:34:18 -08:00
Michelle Tilley
3ed91370a1
fix: 302 redirect www to bare domain ( #2087 )
2019-02-11 10:41:32 -08:00
Michelle Tilley
ce0689e9ca
fix: prevent infinite redirect on bad asset URLs ( #2038 )
2019-02-04 16:45:08 -08:00
Michelle Tilley
f2a02b446a
fix: load static assets from a subdirectory ( #2039 )
2019-02-04 16:19:48 -08:00
Michelle Tilley
62a5544fc0
feat: improve releases page ( #1855 )
2019-01-17 10:38:43 -08:00
Vlad Hashimoto
aef79a9eb7
feat: create landing page for Electron Fiddle ( #1602 )
2019-01-14 15:21:27 -08:00
Michelle Tilley
683e0857ec
fix: properly remove caches before removing service worker ( #1655 )
2018-12-19 14:27:33 -08:00
Michelle Tilley
deb8fe397e
chore: remove service worker ( #1651 )
2018-12-19 13:06:03 -08:00
Vlad Hashimoto
b1a491a7ec
feat: add RSS feed for releases ( #1313 )
...
* Add Releases feeds
* Add tests
* Extract feed creator to other file
2018-10-31 21:24:02 -07:00
Vlad Hashimoto
d82d672cef
feat: add API structures page ( #1427 )
...
* Add API structures page
* Add title
* Update package-lock.json
2018-10-31 14:41:30 -07:00
snidelyhazel
cac3fdaf6d
Fix for indentation problems inside pre-tag code blocks ( #1310 )
...
Added preventIndent property to parameter options passed to handlebars.compile
2018-10-31 14:07:27 -07:00
Samuel Attard
aafeb4c371
chore: rename sw to service-worker for clarity
2018-10-24 10:33:05 +11:00
Samuel Attard
e18ea69329
feat: make the core site work offline
2018-10-22 15:41:34 +11:00
Shelley Vohr
769977c65d
fix: faq redirect and remove orphan file ( #1375 )
...
* fix: faq redirect and remove orphan file
* faq => docs/faq
2018-09-28 21:47:43 -07:00
Zeke Sikelianos
75d9770ca8
lint
2018-06-21 12:22:55 -07:00
Zeke Sikelianos
0ef9164dd7
remove old search
2018-06-20 22:01:35 -07:00
Zeke Sikelianos
b530928644
/contact -> /community
2018-04-26 13:04:57 -07:00