1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Commit Graph

184 Commits

Author SHA1 Message Date
AllenJB
6eba7eba26 Search: Fix "g a" search (add comment to notify future devs) 2026-01-13 14:02:52 +01:00
AllenJB
e5c965b38d Search: Fix "g a" search 2026-01-13 14:02:52 +01:00
Derick Rethans
cfe9639dad Update WASM build for docs to PHP 8.5.0 2025-11-28 11:04:10 +01:00
Sergey Panteleev
9b86e7de7e PHP 8.5 release page (#1454)
Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
Co-authored-by: Borislav Kosun <kosun.b@yandex.com>
Co-authored-by: Theodore Brown <theodorejb@outlook.com>
2025-11-19 17:42:11 +03:00
AllenJB
e6194839e4 Reject old format indexes (forcing refetch) (#1596) 2025-11-06 10:48:34 +08:00
AllenJB
658fafec3e Update search to use new pre-combined indexes + local docs support (#1586)
* Update search.js to use new pre-combined indexes; Support for running search on local docs

* Update search.js to use new pre-combined indexes; Support for running search on local docs
2025-11-04 17:17:06 +00:00
AllenJB
55be0cb1b8 interactive-examples.js: Fix handling on newlines (multiple newlines collapsed) 2025-10-04 15:10:18 +01:00
AllenJB
9d3f87fffd interactive-examples.js: Enable for informal examples and fix output replacement 2025-10-01 12:01:47 +01:00
AllenJB
800460f6c2 interactive-examples.js: Enable for informal examples 2025-10-01 12:01:47 +01:00
AllenJB
12852cf79d interactive-examples.js: Fix access on null value (#1462) 2025-09-28 10:49:25 +01:00
Marcus Förster
c2dd97cf5f Optimize style of supported-versions table on mobile (#1243)
Co-authored-by: Luffy <lufei@php.net>
2025-08-18 12:08:16 +08:00
Shivam Mathur
c851d01e50 Add syntax highlighting and copy button 2025-08-12 14:29:30 +01:00
Sergey Panteleev
0dd651c0bc Should work with disabled js 2025-08-12 14:29:29 +01:00
Derick Rethans
710616d21f First stab at a prototype for revamping the download instructions page 2025-08-12 14:29:28 +01:00
Adam Cable
bb65d6c4f0 Add alt text to Elephants images (#1292) 2025-07-11 10:18:56 +08:00
Derick Rethans
e8a9ae4b82 Update WASM to PHP 8.4.4, and enable mbstring and XML extensions 2025-03-07 02:05:35 +01:00
Derick Rethans
c4c91d9435 Have a better button position and say if there is no output 2025-03-07 02:05:35 +01:00
Marcos 'Marcão' Aurelio
cb9bb534ca Fix table overlapping and improve responsiveness #688 (#1222)
Fix #688
2025-02-05 10:51:33 +03:00
Gina Peter Banyard
b4638bf2e0 Reuse existing output (#1180) 2025-01-31 13:05:56 +03:00
Luffy
8231de0a32 Exclude input and textarea from "/" key handler (#1213) 2025-01-28 09:30:52 +08:00
Luffy
a3dd121417 Fix loadIndexWithFallback failed (#1193)
Fix #1122
Fix #1192
2024-12-30 16:02:16 +03:00
Antoine Bluchet
543eab70a4 Allow "/" when editing code (#1177)
Co-authored-by: Luffy <lufei@php.net>
2024-12-04 15:16:25 +08:00
Tim Düsterhus
621bcce3c2 Disable spellchecker for interactive code examples (#1176) 2024-12-04 09:31:12 +08:00
Antoine Bluchet
79d4f7922e Run examples with php wasm (#1097)
* Run examples with php wasm
* make examples editable
* load wasm only when running code
* handle empty code

Co-authored-by: lwlinux <1053317536@qq.com>
2024-12-03 10:32:03 +00:00
Takuya Aramaki
98641f0bb9 Fix parameter link scrolling to the correct position (#1171) 2024-11-29 13:28:14 +03:00
Maurício Meneghini Fauth
cdf59074d3 Replace languages.inc globals with I18n\Languages consts (#1121)
The include/languages.inc file was not removed as it's used in other
repositories. It should be removed after migration.

Tests were added to ensure that the global variables and the constants
are in sync with each other.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2024-11-14 11:37:00 +03:00
Luffy
7478275ad1 Hosting jQuery locally (#1119) 2024-11-09 20:07:27 +03:00
Lucas Azevedo
8413b22090 Fix offcanvas menu open bug (#1116) 2024-11-09 20:07:10 +03:00
Lucas Azevedo
b62f99f6de Update navbar design and improve search UI (#1084)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Sergey Panteleev <sergey@php.net>
2024-11-02 17:39:04 +03:00
Roy Orbitson
2dcf9c3796 Fuzzy search of docs (#1007) 2024-08-09 12:11:16 +08:00
Andreas Möller
59c070f557 Enhancement: Enable blank_line_after_opening_tag fixer (#875) 2023-12-07 16:57:19 +01:00
Andreas Möller
00342c402f Fix: Remove vim instruction (#880) 2023-12-07 15:01:52 +01:00
Christoph M. Becker
8463593803 Only "linked" parameters should have pointer cursor (#742)
If a parameter has no target to scroll to, it should not suggest
otherwise by changing the cursor to a pointer.  Since the scrolling is
done via JS, we should also change the cursor via JS.[1]

While we're at it, we also fix the potential JS error where we call the
`.offset()` method on an empty `jQuery` object.

[1] <https://github.com/php/doc-en/issues/2071#issuecomment-1354497367>
2023-08-10 12:55:25 +01:00
Gemorroj
b3a970000f Update common.js (#740)
some minor improvements
2022-12-14 11:33:11 +00:00
Andreas Möller
d9bcfed482 Enhancement: Enable array_syntax fixer
Co-authored-by: MathiasReker <mathias@reker.dk>

Closes GH-659.
2022-08-22 18:59:14 +02:00
Kamil Tekiela
77a062033a Improve code formatting in JS (#656) 2022-07-15 14:15:34 +01:00
Kamil Tekiela
352f784292 Fix mousetrap.js (#655) 2022-07-15 10:09:11 +01:00
Kamil Tekiela
de8556658d Update mousetrap.min.js 2022-07-13 17:31:07 +01:00
Kamil Tekiela
68e9bffca2 Upgrade hogan.js 2022-07-13 17:31:07 +01:00
Kamil Tekiela
89b9ef2e66 Delete jquery.ui.totop.js
UItoTop was dead script since 613a15b495
2022-07-13 17:31:07 +01:00
Kamil Tekiela
63dbe8c66d Update jquery.scrollTo.min.js 2022-07-13 17:31:07 +01:00
Kamil Tekiela
6dcd848697 Move jquery.scrollTo.min.js to a new file
Update footer.inc
2022-07-13 17:31:07 +01:00
Kamil Tekiela
25784fa653 Drop IE support including IE 7 & 9 shims 2022-07-13 17:31:07 +01:00
Kamil Tekiela
33a94e54bb Drop Modernizr (#653)
We only used it to check for data: URI support, but that's universally supported now https://caniuse.com/datauri
2022-07-13 15:38:53 +01:00
Andreas Möller
b3c9551c93 Enhancement: Enable no_extra_blank_lines fixer
Closes GH-646.
2022-07-12 14:26:18 +02:00
Andreas Möller
c68e5a9e4a Enhancement: Enable single_space_after_construct fixer
Closes GH-640.
2022-07-12 11:44:23 +02:00
Ayesh Karunaratne
c1dce9083b Minor optimizations in CSS files to shed some weight (#612)
- Removes px suffix from 0px.
 - Combines CSS properties where they are immediately overridden in the same selector block, or can be combined without side effects.

 This saves about 50 bytes off the CSS scripts. it ain't much but it's honest work
2022-07-05 11:38:25 +01:00
Kazuya Takei
438c8baa34 Change escaping function to build URL for searching
Fixes GH-518.
Closes GH-519.
2022-05-30 15:43:58 +02:00
hakre
806766ba3c Improve fix of php bug 74493
improvement of 6cec58d9 (Use exact word for parameter scroll 74493,
2017-04-25). some options are rendered with surrounding white-space (e.g.
in front of "scale" for `bcdiv()`s' scale parameter [1].

fix is to not compare the word against surrounding spaces (UCS-0020) etc.
by removal through ECMAScript 5 15.5.4.20 String.prototype.trim(),
2009-12-03.

finally fix the lines' indent.

74493: https://bugs.php.net/bug.php?id=74493
[1]: https://php.net/manual/en/function.bcdiv.php
ref: 6cec58d94b

Closes GH-460.
2021-11-19 13:10:57 +01:00
Anna Filina
d56830dfce Display custom 404 page when legacy manuals found
Closes GH-385.
2020-12-14 19:50:51 +01:00