Skip to content

Commit fdb45a1

Browse files
committed
chore: remove some superfluous files
1 parent 29e2b15 commit fdb45a1

8 files changed

+19
-476
lines changed

Diff for: content/attachment.njk

-69
This file was deleted.

Diff for: content/index.njk

+2-45
Original file line numberDiff line numberDiff line change
@@ -3,48 +3,5 @@ layout: layouts/wiki.njk
33
breadcrumb: WikiStart
44
---
55

6-
<h2>This site is no longer in use</h2>
7-
<p>
8-
jQuery issues have moved to <a href="https://github.com/jquery/jquery/issues">GitHub</a>. This site is now a static archive of the old <a href="https://trac.edgewall.org/">Trac</a> site. Search is still supported for tickets and milestones, but some functions and pages no longer work.
9-
</p>
10-
<p>Before navigating to the jQuery Core GitHub, please take a moment to make sure you're headed to the right place.</p>
11-
<p>
12-
<strong>jQuery Core API Documentation issues:</strong> Problems with the documentation should be reported to <a class="ext-link" href="http://github.com/jquery/api.jquery.com/issues">
13-
<span class="icon"></span>api.jquery.com GitHub repository</a>.
14-
</p>
15-
<p>
16-
<strong>jQuery web site issues:</strong> Use the trackers in the <a class="ext-link" href="http://github.com/jquery/">
17-
<span class="icon"></span>individual repos</a> for each site by its domain name, e.g., <a class="ext-link" href="http://github.com/jquery/api.jquery.com/issues">
18-
<span class="icon"></span>api.jquery.com</a>, <a class="ext-link" href="http://github.com/jquery/jquery.com/issues">
19-
<span class="icon"></span>jquery.com</a>. Web site issues may also lie in <a class="ext-link" href="http://github.com/jquery/jquery-wp-content/issues">
20-
<span class="icon"></span>jquery-wp-content</a>, and can be filed there if appropriate. If you file an web site issue in the wrong place, we will work to make sure it ends up in the right place, however the jQuery core bug tracker is <strong>not that place.</strong>
21-
</p>
22-
<p>
23-
<strong>jQuery plugins:</strong> Report your bug to its author, <strong>not to jQuery</strong>.
24-
</p>
25-
<p>
26-
<strong>jQuery UI (Tabs, Dialog, etc.):</strong> jQuery UI is now only in maintenance-only mode. Users should not expect any new releases, though patches may be issued to resolve critical security, interoperability, or regression bugs. Trac, the project's bug-tracking tool, has been archived and developers are asked to file any critical issues on <a href="https://github.com/jquery/jquery-ui/issues" class="ext-link">
27-
<span class="icon"></span>jQuery UI's GitHub</a>.
28-
</p>
29-
<p>
30-
<strong>jQuery Mobile:</strong> jQuery Mobile is no longer supported.
31-
</p>
32-
<p>
33-
<strong>jQuery core bugs only:</strong> Follow these instructions.
34-
</p>
35-
<ul>
36-
<li>
37-
<a class="ext-link" href="https://github.com/jquery/jquery/issues">
38-
<span class="icon"></span>Search</a> for existing similar tickets.
39-
</li>
40-
<li>Create a <strong>minimal</strong> test case on <a class="ext-link" href="http://jsfiddle.net">
41-
<span class="icon"></span>jsfiddle.net</a> or <a class="ext-link" href="http://jsbin.com">
42-
<span class="icon"></span>jsbin.com</a> demonstrating the issue. Remember that the team only supports the most recent versions; do not report a bug against version 1.7.2, for example.
43-
</li>
44-
<li>Read <a class="ext-link" href="http://docs.jquery.com/How_to_Report_Bugs">
45-
<span class="icon"></span>How to Report Bugs</a> before creating a ticket.
46-
</li>
47-
<li>File your bug at the <a class="ext-link" href="https://github.com/jquery/jquery/issues">
48-
<span class="icon"></span>jQuery Issue Tracker</a>.
49-
</li>
50-
</ul>
6+
<h2>The jQuery Plugin Registry is in read-only mode.</h2>
7+
<h2>New plugin releases will not be processed.</h2>

Diff for: content/ticketgraph.md

-13
This file was deleted.

Diff for: content/timeline.md

-15
This file was deleted.

Diff for: content/wiki.njk

-19
This file was deleted.

Diff for: eleventy.config.js

+15-52
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const path = require('node:path')
1111
const { exec } = require('node:child_process')
1212

1313
const pluginImages = require('./eleventy.config.images.js')
14-
const tracToHTML = require('./eleventy.config.tracToHTML.js')
1514

1615
module.exports = function (eleventyConfig) {
1716
// Copy the contents of the `public` folder to the output folder
@@ -21,33 +20,6 @@ module.exports = function (eleventyConfig) {
2120
'./node_modules/prismjs/themes/prism.min.css': '/css/prism.min.css'
2221
})
2322

24-
const attachTicket =
25-
process.env.ATTACHMENT_TICKET || (process.env.ATTACHMENT_TICKET = '25')
26-
27-
// Limit the number of copies during development builds
28-
if (process.env.NODE_ENV === 'development') {
29-
console.log(
30-
'[Development] Added attachments for http://localhost:8080/ticket/' +
31-
attachTicket
32-
)
33-
eleventyConfig.addPassthroughCopy({
34-
[`./raw-attachment/ticket/${attachTicket}`]: `/raw-attachment/ticket/${attachTicket}`,
35-
[`./zip-attachment/ticket/${attachTicket}`]: `/zip-attachment/ticket/${attachTicket}`
36-
})
37-
} else {
38-
eleventyConfig.addPassthroughCopy(
39-
{
40-
'./raw-attachment/': '/raw-attachment/',
41-
'./zip-attachment/': '/zip-attachment/'
42-
},
43-
{
44-
// Lower default concurrency to avoid EMFILE errors
45-
// See https://github.com/11ty/eleventy/issues/2604
46-
concurrency: 100
47-
}
48-
)
49-
}
50-
5123
// Run Eleventy when these files change:
5224
// https://www.11ty.dev/docs/watch-serve/#add-your-own-watch-targets
5325

@@ -148,35 +120,26 @@ module.exports = function (eleventyConfig) {
148120
)
149121
})
150122

151-
eleventyConfig.addFilter('tracToHTML', tracToHTML)
152-
153123
// Shortcodes
154124
eleventyConfig.addShortcode('currentYear', () => {
155125
return DateTime.local().toFormat('yyyy')
156126
})
157127

158-
eleventyConfig.addAsyncShortcode('attachment', async (ticketId, filename) => {
159-
const content = await fs.promises.readFile(
160-
path.join(__dirname, `raw-attachment/ticket/${ticketId}`, filename)
161-
)
162-
return content.toString()
163-
})
164-
165-
eleventyConfig.on('eleventy.after', async ({ runMode, outputMode }) => {
166-
if (
167-
process.env.NODE_ENV === 'development' &&
168-
runMode === 'serve' &&
169-
outputMode === 'fs'
170-
) {
171-
return exec('npm run searchindex', (err, stdout) => {
172-
if (err) {
173-
console.error(err)
174-
return
175-
}
176-
console.log(stdout)
177-
})
178-
}
179-
})
128+
// eleventyConfig.on('eleventy.after', async ({ runMode, outputMode }) => {
129+
// if (
130+
// process.env.NODE_ENV === 'development' &&
131+
// runMode === 'serve' &&
132+
// outputMode === 'fs'
133+
// ) {
134+
// return exec('npm run searchindex', (err, stdout) => {
135+
// if (err) {
136+
// console.error(err)
137+
// return
138+
// }
139+
// console.log(stdout)
140+
// })
141+
// }
142+
// })
180143

181144
// Features to make your build faster (when you need them)
182145

0 commit comments

Comments
 (0)