File tree 2 files changed +10
-11
lines changed
2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 5
5
// See: https://docusaurus.io/docs/api/docusaurus-config
6
6
7
7
import { themes as prismThemes } from 'prism-react-renderer' ;
8
- import versions from './versions.json' ;
9
8
10
9
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
11
10
12
- function getLatestVersion ( ) {
13
- // versions[0] is "latest", versions[1] will contain the actual version number
14
- // of the latest version
15
- return versions [ 1 ] ;
16
- }
17
- const latestVersion = getLatestVersion ( ) ;
18
-
19
11
/** @type {import('@docusaurus/types').Config } */
20
12
const config = {
21
13
title : 'bpftrace' ,
@@ -55,9 +47,6 @@ const config = {
55
47
} ) ,
56
48
] ,
57
49
] ,
58
- customFields : {
59
- latestVersion,
60
- } ,
61
50
62
51
themeConfig :
63
52
/** @type {import('@docusaurus/preset-classic').ThemeConfig } */
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < link rel ="canonical " href ="https://bpftrace.org/docs/0.22.html " />
6
+ </ head >
7
+ < script >
8
+ window . location . href = 'https://bpftrace.org/docs/0.22.html' ;
9
+ </ script >
10
+ </ html >
You can’t perform that action at this time.
0 commit comments