mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 12:57:48 +00:00
feat: add 0.15.x
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import type { Language } from './code';
|
import type { Language } from './code';
|
||||||
|
|
||||||
export const versions = ['1.4.x', '1.3.x', '1.2.x', '1.1.x', '1.0.x'];
|
export const versions = ['1.4.x', '1.3.x', '1.2.x', '1.1.x', '1.0.x', '0.15.x'];
|
||||||
|
|
||||||
export enum Service {
|
export enum Service {
|
||||||
Account = 'account',
|
Account = 'account',
|
||||||
|
|||||||
@@ -46,6 +46,10 @@ type AppwriteSchemaObject = OpenAPIV3.SchemaObject & {
|
|||||||
|
|
||||||
function getExamples(version: string) {
|
function getExamples(version: string) {
|
||||||
switch (version) {
|
switch (version) {
|
||||||
|
case '0.15.x':
|
||||||
|
return import.meta.glob('$appwrite/docs/examples/0.15.x/**/*.md', {
|
||||||
|
as: 'raw'
|
||||||
|
});
|
||||||
case '1.0.x':
|
case '1.0.x':
|
||||||
return import.meta.glob('$appwrite/docs/examples/1.0.x/**/*.md', {
|
return import.meta.glob('$appwrite/docs/examples/1.0.x/**/*.md', {
|
||||||
as: 'raw'
|
as: 'raw'
|
||||||
|
|||||||
Reference in New Issue
Block a user