forked from expressjs/expressjs.com
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] gh-pages from expressjs:gh-pages #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
480
commits into
labaran1:gh-pages
Choose a base branch
from
expressjs:gh-pages
base: gh-pages
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
480 commits
Select commit
Hold shift + click to select a range
2b3c9f1
docs: remove express v2 (#1740)
bjohansebas 8715a21
chore: add CODEOWNERS file for website and blog contributions (#1735)
bjohansebas 3536239
Contributing.md Enhancement (#1683)
chrisdel101 79e6a54
Update external docs (#1752)
github-actions[bot] 5d7c21f
fix indonesia support (#1765)
bjohansebas fabc75a
feat: add language picker (#1695)
cengizcmataraci 68b4840
remove prism (#1746)
bjohansebas bf006cd
Added bluesky icon and link in all footers (#1766)
joharkhan99 d94613a
separate content of headers and footer (#1769)
bjohansebas 73a6b75
Update Crowdin configuration file
ctcpip 0cf2846
Update Crowdin configuration file
ctcpip b56a8e6
Update Crowdin configuration file
ctcpip 31bb1d6
fix code padding (#1773)
bjohansebas 7e89208
Update external docs (#1782)
github-actions[bot] d63a98b
docs: update documentation for res.type() (#1783)
650a6a4
normalize announcements (#1784)
bjohansebas 5ab8e0d
Update API includes to use English language paths (#1778)
bjohansebas d94ab7d
Design system (#1742)
chrisdel101 52c111d
enable incremental build for local server (#1781)
bjohansebas ab4778a
Update Crowdin configuration file
ctcpip 8c04850
Update Crowdin configuration file
ctcpip 41697a8
✨ add crowdin action
ctcpip 1409e38
Update production best practices (#1679)
bjohansebas f669c5f
Replace link to Liquid (#1789)
Phillip9587 2067442
Update "Use helmet" section (#1790)
Phillip9587 85e0462
ci: deploy website with github actions (#1767)
bjohansebas 9157075
Update external docs (#1795)
github-actions[bot] 1e05e8b
feat: add configuration to display the announcements (#1791)
bjohansebas 1d9c326
Submenu anchor active (#1798) Merge
chrisdel101 db21b0c
accessibility issue fix for level one heading and its order (#1797)
ipreencekmr 67096ce
fix accessibility issue for text distinguishable links (#1796)
ipreencekmr 8e2dc7a
fix accessibility issue for iframe accessible name (#1802)
ipreencekmr 6c3cfbb
fix: update middleware documentation (#1806)
bjohansebas bdf2952
Update external docs (#1813)
github-actions[bot] ec5d01a
fix accessibility issue related to image alt text (#1809)
ipreencekmr 27cff69
fix(1815): colour contrast adjusted for comments in code blocks (#1818)
ipreencekmr 7f5bf72
Fix broken links on the middleware page (#1821)
hayden36 2cda09d
Feat : Add Table of Contents Component on pages (#1775)
ShubhamOulkar 7f9b0d8
docs: Correct Korean menu translation for guide entry (#1823)
choi2021 f3b92d9
docs: update security updates documentation for Express (#1800)
bjohansebas ffd1223
docs: remove repeated section from performance guide (#1824)
502d079
Do not enforce Ruby version (#1811)
bjohansebas 22f4946
docs: add codemods section for migrating to Express 5 (#1739)
bjohansebas e2814ae
ci: remove CI on review submission (#1812)
bjohansebas 6daa871
Update external docs (#1832)
github-actions[bot] 064fc0b
Adjust code background colour to improve clarity in dark mode (#1828)
UzairJ99 34a18e8
fix(1816): fixed an style issue inconsistency on home page (#1817)
ipreencekmr 26d0b1f
feat: add github edit btn (#1822)
ShubhamOulkar 29d6e0b
feat: normalize admoniations (#1810)
bjohansebas c07e0bb
📄 update license to CC BY 4.0
ctcpip 748c40e
docs: add deprecation note for 'back' redirect in res-redirect.md and…
bjohansebas 5e850e8
docs: add router debug log change to v5 migration guide (#1819)
d8c2409
fix(a11y): accessible text for screen readers (#1840)
ShubhamOulkar 76d9393
feat: use the express logo in the header (#1839)
ShubhamOulkar 461386f
improve accessibility in header buttons (#1833)
ShubhamOulkar 3926b29
fix: remove obsolete X-UA-Compatible meta tag (#1842)
bjohansebas b77de8a
Update external docs (#1843)
github-actions[bot] 586b428
feat(blog): 5.1.0 release blog (#1849)
wesleytodd 0aab4f2
fix: changelog link in v5.1.0 blog post (#1855)
ShubhamOulkar 77463b1
feat: add announcement content for Express 5.1.0 release (#1854)
bjohansebas 8f3f258
docs(changelog): update changelog for 5.1.0 release (#1850)
bjohansebas 8cc0a58
Update external docs (#1856)
github-actions[bot] f0ee73d
🐛 fix crowdin action
ctcpip 5c9f73f
🐛 fix crowdin action
ctcpip 70f3c82
fix(blog): added some clarification around dates in blog post (#1859)
wesleytodd 7e9249f
Update debugging.md (#1858)
elyas-32 a29e83d
feat: generate sitemap.xml for SEO indexing (#1838)
ShubhamOulkar 2da701b
ci: separates the upload of content to Crowdin from the download of c…
bjohansebas db7dc32
Revert "ci: separates the upload of content to Crowdin from the downl…
ctcpip 0ab83ba
remove license link from footer (#1863)
bjohansebas cae37bd
🔒️ fix permissions on workflow
ctcpip 3b8f190
feat: add feeds for the blog and vulnerabilities (#1867)
rowanmanning 688c59b
Fix formatting of *s in v5-1-latest-release (#1875)
gabriel-bezerra 9a89c2f
a11y fix: header navigation landmark (primary navigation) (#1848)
ShubhamOulkar 9e00f5a
Use 5.x path syntax in API examples (#1878)
krzysdz 4901220
update api to 5x (#1876)
bjohansebas ad856cd
Fix links that got broken in #1422 (#1885)
krzysdz 021c4d6
Remove router.param(fn) from 5.x docs (#1884)
krzysdz f24f45a
feat: add copy code btn (#1841)
ShubhamOulkar e69208e
Reflect body-parser changes in 5.x API docs and include those that wh…
krzysdz 8f6546c
feat enhancement : remove regression in express logo (#1887)
ShubhamOulkar 100dc75
Add Copy btn on install command (#1846)
ShubhamOulkar 20a6669
chore: refactor layout (#1888)
ShubhamOulkar 5c7a418
fix: dark/light mode theme regression (#1862)
bdkopen 0082552
Update 5x API docs with missing 4x changes (#1886)
krzysdz b17e3a1
Fix z-index bug in style.css (#1895)
raaid3 748c994
update admonition content formatting (#1896)
bjohansebas 72e664a
docs: remove deprecated and unmaintained pillarjs utils (#1889)
Phillip9587 ddcd1a6
feat: upload index.md to crowdin (#1899)
bjohansebas 22d3641
docs: update external docs (#1900)
github-actions[bot] cd9e6a3
blog: Spring Cleaning in Express.js (#1902)
UlisesGascon 658ab65
blog: create "May 2025 Security Releases" (#1909)
UlisesGascon dcdef7d
New Crowdin Translations (#1874)
github-actions[bot] 230fc6b
Update external docs (#1906)
github-actions[bot] 528cdf8
docs: change reference from v4 to v5 (#1914)
premdood 2c827d9
chore: update source references in contributing documentation (#1852)
bjohansebas 9d564ba
fix: update headings levels in migration guide (#1869)
bjohansebas fc56d27
[StepSecurity] Apply security best practices (#1905)
step-security-bot 4e625d4
Replace Google Font with local variable font (#1910)
utkarsh125 308cdf4
codeql: remove ruby from CodeQL language matrix (#1926)
bjohansebas 00a676d
Update external docs (#1922)
github-actions[bot] c530d43
i18n: new crowdin translations (#1923)
github-actions[bot] b460ccb
Add correct korean font file name (#1929)
ShubhamOulkar d1f904a
Display author avatars in the blog (#1915)
rowanmanning 643571d
remove unused CSS files and font assets (#1927)
bjohansebas cd8ffd5
chore(deps): bump webrick from 1.8.1 to 1.9.1 (#1919)
dependabot[bot] 14295d3
chore(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#1917)
dependabot[bot] c8a13b7
chore(deps): bump ruby/setup-ruby from 1.207.0 to 1.244.0 (#1918)
dependabot[bot] 124133a
Normalize i18n notice translation (#1930)
ShubhamOulkar c98d2c4
blog: add "How Express.js Rebuilt Its Vulnerability Reporting Process…
UlisesGascon 30c053b
Eliminate layout shift in menu toggle arrow with CSS-only solution (#…
ShubhamOulkar 4ea8ef5
Update external docs (#1938)
github-actions[bot] b9d72b9
docs: new process for translate page (#1805)
bjohansebas 0f3d24c
doc: Fix ID on Header on Performance Best Practices Page (#1945)
bdkopen 9e68fa2
Update external docs (#1946)
github-actions[bot] 8fc9116
fix: remove code block rendering in the note section Closes #1949 (#1…
ayush00git 951e88c
chore(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#1937)
dependabot[bot] 81611aa
Update external docs (#1950)
github-actions[bot] 10155e9
i18n: new crowdin translations (#1939)
github-actions[bot] 722fb07
docs: clarify MIME type changes when migrating from Express 4 to 5 (#…
achaljhawar 57cbe6c
ci: update workflows (#1924)
bjohansebas c7b12bd
Remove strongloop from footer (#1779)
bjohansebas 7743e0f
fix: content overflow on small screen (#1948)
ShubhamOulkar 92ebb0c
i18n: new crowdin translations (#1956)
github-actions[bot] 90784d7
chore(deps): bump ruby/setup-ruby from 1.207.0 to 1.245.0 (#1958)
dependabot[bot] 1b2fff4
chore(deps-dev): bump eslint-plugin-import from 2.29.1 to 2.32.0 (#1957)
dependabot[bot] fde74c4
chore(deps-dev): bump eslint-plugin-promise from 6.2.0 to 6.6.0 (#1921)
dependabot[bot] 6a57f39
chore(deps): bump crowdin/github-action from 2.7.0 to 2.8.0 (#1959)
dependabot[bot] 407f352
docs: update external docs (#1969)
github-actions[bot] 79665c0
feat(index page): add express title and show LTS versions on the smal…
JoseDaniel959 0989623
blog: add "June 2025 Security Releases" (#1944)
UlisesGascon 61cfc19
fix: grid layout and refactor css (#1978)
ShubhamOulkar 120197a
build: apply language based on folder. (#1975)
bjohansebas 0f143c1
fix: add horizontal scroller on middleware table to prevent overflow …
Mohit5Upadhyay 35b4b3b
i18n: new crowdin translations (#1971)
github-actions[bot] 1917b49
chore: refactor footer and header icons (#1962)
ShubhamOulkar 7bf3227
Fix API reference nav missing bold (#1986)
danielzgtg 66c2b91
Fix changelog link on homepage (#1982)
antiquark007 3f02c01
i18n: new crowdin translations (#1991)
github-actions[bot] f263365
blog: July 2025 Security Releases (#1994)
UlisesGascon abee42a
Fix unclickable submenus on touchscreen tablet (#1983)
danielzgtg c75ec31
ci: run lighthouse report (#1985)
ShubhamOulkar 8c4ae2a
docs(basic-routing.md): align wording with the rest of document (#1966)
matzar b8d426e
docs(migrating-5): add section about express.static dotfiles defaulti…
VishalRMahajan 3751b43
chore(deps): bump ruby/setup-ruby from 1.245.0 to 1.254.0 (#1996)
dependabot[bot] d5eb506
chore(deps): bump crowdin/github-action from 2.8.0 to 2.9.1 (#1997)
dependabot[bot] 4c0838e
docker: match GH page ruby version (#1980)
jonchurch 90e5a31
chore: ♻️ remove jquery (#1964)
ShubhamOulkar 74fcef5
ci(lighthouse) : remove seo results (#1998)
ShubhamOulkar 76bbf94
ci: remove base_url from crowdin workflows (#1979)
bjohansebas de12edc
feat(#1932): implement smooth scrolling for anchor navigation across …
Mohit5Upadhyay 69c0345
ci: fix security alert for Lighthouse workflow (#2031)
bjohansebas 5df99fe
ci: fix multiple comments in Lighthouse workflow (#2030)
bjohansebas c2e3f31
docs: add option to express.urlencoded middleware documentation (#2001)
bjohansebas 10929d3
i18n: new crowdin translations (#2032)
github-actions[bot] 8c1e4b3
docs: update res.clearCookie documentation for clarity and accuracy (…
bjohansebas b07d14a
Update links to 5x api docs on `use middleware` page (#2039)
ShubhamOulkar 35e18b6
chore(fonts):⚡reduce font payload (#1999)
ShubhamOulkar 53b9a0e
docs: improve the documentation of path matching behavior (#2036)
kushal4345 e52698d
i18n: new crowdin translations (#2041)
github-actions[bot] ae6197f
docs: document array and multiple-args support in req.is (#2042)
GauravKesh 4106a90
ci: skip Lighthouse audit when Netlify preview is not live (#2048)
ShubhamOulkar 9b41d4d
chore(deps): bump ruby/setup-ruby from 1.254.0 to 1.257.0 (#2051)
dependabot[bot] e526272
chore(deps): bump actions/upload-pages-artifact from 3 to 4 (#2052)
dependabot[bot] 1a79fca
chore(deps): bump crowdin/github-action from 2.9.1 to 2.10.0 (#2053)
dependabot[bot] 72ff6ba
chore(deps): bump actions/checkout from 4 to 5 (#2054)
dependabot[bot] 00e199a
feat : improve language picker component (#2040)
ShubhamOulkar 74e27ec
i18n: new crowdin translations (#2060)
github-actions[bot] 7f59bcc
chore(deps): bump crowdin/github-action from 2.10.0 to 2.11.0 (#2070)
dependabot[bot] 48789f6
chore(deps): bump actions/setup-node from 4 to 5 (#2073)
dependabot[bot] 164e3e9
chore(deps): bump uri from 0.13.1 to 0.13.2 (#2065)
dependabot[bot] d5404f7
chore(deps): bump rexml from 3.3.7 to 3.4.2 (#2067)
dependabot[bot] 9066b99
chore(deps-dev): bump nokogiri from 1.16.7 to 1.18.9 (#2066)
dependabot[bot] 3def603
fix: typo in Chinese routing guide (#2077)
dhruvinjs a1b6ecf
fix: update link to triage process document in contributing guides (#…
Bashamega e00b066
chore(deps): bump actions/github-script from 7 to 8 (#2071)
dependabot[bot] e545090
chore(deps): bump ruby/setup-ruby from 1.257.0 to 1.263.0 (#2072)
dependabot[bot] 69cdaa2
chore(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 (#2074)
dependabot[bot] 90f37f1
docs: update external docs (#2059)
github-actions[bot] 536852a
docs: update external docs (#2083)
github-actions[bot] c2f9f5a
fix: ensure footer is pushed to the bottom on large screens (#2075)
sibaiper 738f860
docs: Fix broken links (#2082)
efekrskl 0249729
chore(deps): bump ruby/setup-ruby from 1.263.0 to 1.267.0 (#2096)
dependabot[bot] 33a856b
chore(deps): bump actions/upload-artifact from 4 to 5 (#2095)
dependabot[bot] fd97b84
blog: update the link for the captains (#2112)
skyeyeye 17da555
chore(deps): bump actions/setup-node from 5 to 6 (#2098)
dependabot[bot] edf3ba4
feat: bottom page navigation component (#2085)
ShubhamOulkar 859c285
chore(deps): bump crowdin/github-action from 2.11.0 to 2.12.0 (#2097)
dependabot[bot] 812bb54
chore(deps): bump github/codeql-action from 3 to 4 (#2099)
dependabot[bot] 66aee2c
docs: update external docs (#2086)
github-actions[bot] 88a2bbe
docs: fix minor formatting typo (#2093)
ravener cf70183
fix: update link to Sovereign Tech Fund in release notes (#2117)
skyeyeye 7ae56b7
fix: update documentation link to IRP (#2115)
skyeyeye cbcd172
fix: update link to IRP Flowchart (#2116)
skyeyeye 8e273e2
docs(express.static): add accept-ranges and cache-control options to …
Akash-2006 c97bc89
Update HTTP method reference link in documentation (#2113)
skyeyeye 5bd4529
docs: include protocol in a link (#2119)
skyeyeye 7a32b3f
docs: update external docs (#2120)
github-actions[bot] 36b33cf
blog: Nov 2025 Security Releases (#2121)
UlisesGascon a1efc64
docs: update external docs (#2122)
github-actions[bot] 691e344
chore(deps): bump actions/checkout from 5 to 6 (#2123)
dependabot[bot] 56bae20
chore(deps): bump ruby/setup-ruby from 1.267.0 to 1.268.0 (#2124)
dependabot[bot] d9ae666
chore(deps): bump webrick from 1.9.1 to 1.9.2 (#2125)
dependabot[bot] 2e10ad5
chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (#2118)
dependabot[bot] 0cfa8d0
docs: clarify req.params type and usage with regular expressions (#2101)
krzysdz e4004e1
i18n: new crowdin translations (#2064)
github-actions[bot] e34d35a
docs: update external docs (#2130)
github-actions[bot] fabe479
docs: Improve clarity of next('route') usage in Route Handlers sectio…
yelishgiri c835e5d
Fix: Add missing API sections to non-English 4.x documentation (#2076)
Farhan291 f4c742b
i18n: new crowdin translations (#2131)
github-actions[bot] 0f78c3f
i18n: new crowdin translations (#2133)
github-actions[bot] 73cf5d6
docs: document req.params changes in 5.x (#2092)
krzysdz 76c37f7
docs: update contributing.md (#2137)
efekrskl 7fb7fe1
docs: update external docs (#2139)
github-actions[bot] c6478c2
i18n: new crowdin translations (#2138)
github-actions[bot] bb00d0c
docs: update reference links from 4.x to 5.x across all languages (#2…
codayon a8bc26c
i18n: new crowdin translations (#2145)
github-actions[bot] 1eaa6c1
chore(deps): bump ruby/setup-ruby from 1.270.0 to 1.278.0 (#2149)
dependabot[bot] f5f9757
chore(deps): bump crowdin/github-action from 2.12.0 to 2.13.0 (#2150)
dependabot[bot] 854c50e
chore(deps): bump actions/upload-artifact from 5 to 6 (#2148)
dependabot[bot] c03947b
chore(deps): bump uri from 0.13.2 to 0.13.3 (#2147)
dependabot[bot] 16d43ef
feat: redirects changelog page to github releases (#2136)
efekrskl de72935
docs: update codemod commands for Express 5 migration guide (#2143)
bjohansebas f31a7d4
i18n: new crowdin translations (#2153)
github-actions[bot] c2106f9
i18n: new crowdin translations (#2158)
github-actions[bot] 9bb1ff2
docs: add security.txt (#1974)
bjohansebas ab6682c
ci: Fix error in the workflow. (#2159)
bjohansebas 74108b7
ci(deploy): ensure .well-known dir is uploaded to gh-pages (#2162)
jonchurch cf7c612
fix: update SECURITY.md source location (#2163)
jonchurch 7d1613e
docs: update security.txt expiry (#2160)
github-actions[bot] 34836ff
docs: update external docs (#2161)
github-actions[bot] 5efeac8
ci: remove Lighthouse audit workflow (#2171)
bjohansebas df7c2e3
i18n: new crowdin translations (#2164)
github-actions[bot] 7ea85d1
feat: add OpenJS trademark notice to footer (#2178)
omerbakr dcf524f
fix: limit trademark line length so it doesnt stretch (#2179)
jonchurch daf3c91
docs: update external docs (#2176)
github-actions[bot] fbcca21
i18n: new crowdin translations (#2177)
github-actions[bot] 293fc17
chore(deps): bump faraday from 2.11.0 to 2.14.1 (#2182)
dependabot[bot] 1596de5
i18n: new crowdin translations (#2181)
github-actions[bot] 90a6995
chore(deps): bump ruby/setup-ruby from 1.278.0 to 1.287.0 (#2174)
dependabot[bot] 25634fb
chore(deps-dev): bump nokogiri from 1.18.9 to 1.19.1 (#2189)
dependabot[bot] fc8b859
i18n: new crowdin translations (#2187)
github-actions[bot] 5c1c440
docs: update external docs (#2194)
github-actions[bot] b56e359
blog: Feb 2026 Security Releases (#2198)
UlisesGascon c0d3bf8
chore(deps): bump crowdin/github-action from 2.13.0 to 2.15.0 (#2202)
dependabot[bot] 85e2e10
chore(deps): bump ruby/setup-ruby from 1.287.0 to 1.288.0 (#2201)
dependabot[bot] 0df4dd3
chore(deps): bump actions/upload-artifact from 6 to 7 (#2200)
dependabot[bot] 1e9d872
fix(navmenu): enable scrolling at 400% zoom for accessibility (#2184)
omerbakr 3239931
chore(deps): bump json from 2.18.1 to 2.19.2 (#2212)
dependabot[bot] 2d4df3f
blog: March 2026 security releases (#2226)
UlisesGascon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Website development | ||
| * @expressjs/docs-collaborators | ||
|
|
||
| # Codeowners | ||
| .github/CODEOWNERS @expressjs/docs-captains | ||
|
|
||
| # Blog | ||
| _posts @expressjs/express-tc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: monthly | ||
|
|
||
| - package-ecosystem: docker | ||
| directory: / | ||
| schedule: | ||
| interval: monthly | ||
|
|
||
| - package-ecosystem: bundler | ||
| directory: / | ||
| schedule: | ||
| interval: monthly | ||
|
|
||
| - package-ecosystem: npm | ||
| directory: / | ||
| schedule: | ||
| interval: monthly | ||
| open-pull-requests-limit: 10 | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: ["version-update:semver-major"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,92 @@ | ||
| #!/bin/bash | ||
|
|
||
| # This script replaces the contents of a section with the contents from the annotated source address or local file paths inside the DEST file. | ||
|
|
||
| # read contents of file into memory | ||
| DEST="../../en/resources/contributing.md" | ||
|
|
||
| # track the header level | ||
| level='' | ||
| # tracks src for curl calls | ||
| src='' | ||
| # tracks file paths for local file reads | ||
| local='' | ||
| while IFS= read -r line; do | ||
| # REMOVE PREVIOUS CONTENT SECTION | ||
| # if src or local tags are not empty | ||
| if [[ -n "$src" || -n "$local" ]]; then | ||
| # if current line not a horitzontal rule hr | ||
| if [[ "$line" != "----"* ]]; then | ||
| # if line == level -- level is num of ## | ||
| if [[ "$line" == "$level"'#'* || | ||
| # line not a header line | ||
| "$line" != '#'* ]]; then | ||
| # skip line and rewrite over old content | ||
| continue | ||
| fi | ||
| fi | ||
| fi | ||
|
|
||
| # PRINT TO PAGE SECTION | ||
| src='' | ||
| local='' | ||
| # if line is a header | ||
| if [[ "$line" == '#'* ]]; then | ||
| # if header has (#id-of-link) or {#id-on-page} patterns | ||
| if [[ $line =~ (\(\#.*\))\. || "$line" =~ \{\#.*\} ]]; then | ||
| # isolate the matching part of line | ||
| match=${BASH_REMATCH[0]} | ||
| # remove match - leaving rest | ||
| rest=${line//${match}} | ||
| # remove any # symbols from start | ||
| title_rest=${rest##*\#} | ||
| # slice rest of line to get only level | ||
| level="${rest:0:$((${#rest} - ${#title_rest}))}" | ||
| else | ||
| # any other headers -- these before SRC/LOCAL pages anchors | ||
| header=${line##*\#} | ||
| level="${line:0:$((${#line} - ${#header}))}" | ||
| fi | ||
| # if line is SRC anchor in read file | ||
| elif [[ "$line" == '<!-- SRC:'* ]]; then | ||
| # remove the first 10 chars | ||
| src=${line:10} | ||
| # % remove from end until after white space -- leaves src details | ||
| src=${src% *} | ||
| # if line is LOCAL anchor in read file | ||
| elif [[ "$line" == '<!-- LOCAL:'* ]]; then | ||
| # remove the first 12 chars | ||
| local=${line:12} | ||
| # % remove from end until after white space -- leave local details | ||
| local=${local% *} | ||
| # leave only path to file | ||
| local=${local#* } | ||
| fi | ||
| # prints line to the page | ||
| echo "$line" | ||
|
|
||
| if [[ -n "$local" ]]; then | ||
| # cat file -- outputs full contents of file at local path | ||
| cat "$local" | \ | ||
| # remove the top 1# headers from cat'd file | ||
| sed -En '/^##|^[^#]/,$p' | \ | ||
| # remove GH MD specific tags start w '[!NOTE\] + the following line | ||
| sed -E '/^>\[!NOTE\]*/{N;d;}' | \ | ||
| # change GH specific MD IMPORTANT tags -> change into plain MD | ||
| sed -E 's/> \[!IMPORTANT\]/> **IMPORTANT:** /g' | ||
| echo | ||
| elif [[ -n "$src" ]]; then | ||
| echo | ||
| path=${src#* } | ||
| repo=${src% *} | ||
| curl -s "https://raw.githubusercontent.com/${repo}/master/${path}" | \ | ||
| # if line is ## or not # | ||
| sed -En '/^##|^[^#]/,$p' | \ | ||
| # add additional # every header | ||
| sed 's/^#/&'"${level:1}"'/g' | \ | ||
| # format GH links when match | ||
| sed -E 's/(\[[^]]*\])\(([^):#]*)\)/\1(https:\/\/github.com\/'"$(sed 's/\//\\\//g' <<< "$repo")"'\/blob\/master\/\2)/g' | ||
| echo | ||
| fi | ||
| # read in dest file then write back to file | ||
| done <<<"$(< $DEST)" > $DEST |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| import { readFile, writeFile } from 'node:fs/promises' | ||
| import path from 'node:path' | ||
|
|
||
| const NPMURL = 'https://registry.npmjs.org/express' | ||
|
|
||
| const response = await (await fetch(NPMURL)).json() | ||
|
|
||
| const { next, latest } = response['dist-tags'] | ||
|
|
||
| try { | ||
| const filePath = path.resolve(path.join('..', '..', '_data', 'express.yml')) | ||
| let content = await readFile(filePath, 'utf8') | ||
|
|
||
| content = content.replace(/current_version: ".*"/, `current_version: "${latest}"`) | ||
| content = content.replace(/next_version: ".*"/, `next_version: "${next}"`) | ||
|
|
||
| await writeFile(filePath, content, 'utf8') | ||
| } catch (error) { | ||
| console.error('Error updating versions in _data/express.yml:', error) | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| # For most projects, this workflow file will not need changing; you simply need | ||
| # to commit it to your repository. | ||
| # | ||
| # You may wish to alter this file to override the set of languages analyzed, | ||
| # or to provide custom queries or build logic. | ||
| # | ||
| # ******** NOTE ******** | ||
| # We have attempted to detect the languages in your repository. Please check | ||
| # the `language` matrix defined below to confirm you have the correct set of | ||
| # supported CodeQL languages. | ||
| # | ||
| name: "CodeQL" | ||
|
|
||
| on: | ||
| push: | ||
| branches: ["gh-pages"] | ||
| pull_request: | ||
| # The branches below must be a subset of the branches above | ||
| branches: ["gh-pages"] | ||
| schedule: | ||
| - cron: "0 0 * * 1" | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| analyze: | ||
| name: Analyze | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| actions: read | ||
| contents: read | ||
| security-events: write | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| language: ["javascript", "actions"] | ||
| # CodeQL supports [ $supported-codeql-languages ] | ||
| # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v6 | ||
|
|
||
| # Initializes the CodeQL tools for scanning. | ||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v4 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
| # If you wish to specify custom queries, you can do so here or in a config file. | ||
| # By default, queries listed here will override any specified in a config file. | ||
| # Prefix the list here with "+" to use these queries and those in the config file. | ||
|
|
||
| # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
| # If this step fails, then you should remove it and run the build manually (see below) | ||
| - name: Autobuild | ||
| uses: github/codeql-action/autobuild@v4 | ||
|
|
||
| # ℹ️ Command-line programs to run using the OS shell. | ||
| # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
|
||
| # If the Autobuild fails above, remove it and uncomment the following three lines. | ||
| # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
|
|
||
| # - run: | | ||
| # echo "Run, Build Application using script" | ||
| # ./location_of_script_within_repo/buildscript.sh | ||
|
|
||
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/analyze@v4 | ||
| with: | ||
| category: "/language:${{matrix.language}}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Crowdin Upload | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ gh-pages ] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| synchronize-with-crowdin: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: crowdin action | ||
| uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # https://github.com/crowdin/github-action/releases/tag/v2.15.0 | ||
| with: | ||
| upload_sources: true | ||
| upload_translations: false | ||
| download_translations: false | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
| CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check failure
Code scanning / Scorecard
Token-Permissions