Skip to content

Commit bd00d3f

Browse files
committed
fix build and package versions
1 parent 4603dc2 commit bd00d3f

File tree

5 files changed

+4351
-9106
lines changed

5 files changed

+4351
-9106
lines changed

docusaurus.config.js

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
module.exports = {
1+
import path from 'path';
2+
3+
/** @type {import('@docusaurus/types').Config} */
4+
export default {
25
title: 'Ultroid',
36
tagline: 'Ultroid, a pluggable telegram userbot, made in python using Telethon!',
47
url: 'https://www.ultroid.org',
@@ -9,7 +12,7 @@ module.exports = {
912
organizationName: 'TeamUltroid',
1013
projectName: 'teamultroid.github.io',
1114
themeConfig: {
12-
metadatas: [{ name: 'yandex-verification', content: 'b8291c7f76165c9d' }],
15+
metadata: [{ name: 'yandex-verification', content: 'b8291c7f76165c9d' }],
1316
colorMode: {
1417
defaultMode: 'dark',
1518
respectPrefersColorScheme: false,
@@ -71,8 +74,12 @@ module.exports = {
7174
href: 'https://telegram.dog/UltroidSupportChat',
7275
},
7376
{
74-
label: 'Twitter',
75-
href: 'https://twitter.com/TheUltroid',
77+
label: 'Instagram',
78+
href: 'https://www.instagram.com/Theultroid/',
79+
},
80+
{
81+
label: 'X',
82+
href: 'https://x.com/TheUltroid',
7683
}
7784
],
7885
},
@@ -98,10 +105,17 @@ module.exports = {
98105
'@docusaurus/preset-classic',
99106
{
100107
docs: {
101-
sidebarPath: require.resolve('./sidebars.js'),
108+
sidebarPath: './sidebars.js',
109+
},
110+
blog: {
111+
path: 'blog',
112+
showReadingTime: true
113+
},
114+
pages: {
115+
path: 'src/pages'
102116
},
103117
theme: {
104-
customCss: require.resolve('./src/css/custom.css'),
118+
customCss: './src/css/custom.css',
105119
},
106120
gtag: {
107121
trackingID: 'G-DF813CEEN9',

package.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
"clear": "docusaurus clear"
1313
},
1414
"dependencies": {
15-
"@docusaurus/core": "2.0.0-alpha.70",
16-
"@docusaurus/plugin-content-pages": "^2.0.1",
17-
"@docusaurus/plugin-google-gtag": "^2.0.1",
18-
"@docusaurus/preset-classic": "2.0.0-alpha.70",
19-
"@mdx-js/react": "^1.6.21",
20-
"clsx": "^1.1.1",
21-
"react": "^16.8.4",
22-
"react-dom": "^16.8.4"
15+
"@docusaurus/core": "3.8.1",
16+
"@docusaurus/preset-classic": "3.8.1",
17+
"@docusaurus/plugin-content-pages": "3.8.1",
18+
"@docusaurus/plugin-google-gtag": "3.8.1",
19+
"@mdx-js/react": "^3.0.0",
20+
"clsx": "^2.1.0",
21+
"react": "^18.2.0",
22+
"react-dom": "^18.2.0"
2323
},
2424
"browserslist": {
2525
"production": [
@@ -32,5 +32,8 @@
3232
"last 1 firefox version",
3333
"last 1 safari version"
3434
]
35+
},
36+
"engines": {
37+
"node": ">=18.0"
3538
}
3639
}

sidebars.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
module.exports = {
1+
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
2+
const sidebars = {
23
"sidebar": [
34
{
45
"type": "doc",
@@ -33,12 +34,14 @@ module.exports = {
3334
"id": "VCBot/vcguide"
3435
},
3536
{
36-
"type":"category",
37-
"label":"Contributing",
38-
"items":[
39-
"contributing/userplugins",
40-
"contributing/translate"
41-
]
37+
"type": "category",
38+
"label": "Contributing",
39+
"items": [
40+
"contributing/userplugins",
41+
"contributing/translate"
42+
]
4243
}
4344
]
4445
};
46+
47+
export default sidebars;

src/pages/changelog/v0.7.mdx

Lines changed: 46 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
title: v0.7
33
---
44

5+
import Head from '@docusaurus/Head';
56

6-
<head>
7-
<meta property="og:image" content="/img/0.7.png"/>
8-
<meta property="og:title" content="Changelog"/>
9-
<meta property="og:description" content="Ultroid v0.7"/>
10-
</head>
7+
<Head>
8+
<meta property="og:image" content="/img/0.7.png"/>
9+
<meta property="og:title" content="Changelog"/>
10+
<meta property="og:description" content="Ultroid v0.7"/>
11+
</Head>
1112

1213
<!---
1314
import Link from '@docusaurus/Link';
@@ -21,91 +22,71 @@ import styles from '../styles.module.css';
2122

2223
# Ultroid V0.7 Changelog
2324

24-
2525
## 🌟 Highlights
2626

27-
<ul style={{ listStyleType: "🌟 " }}>
28-
<li>
29-
<b><code>SESSION</code></b> now supports <code>pyrogram string sessions</code>.
30-
</li>
31-
<li>
32-
<details>
33-
<summary style={{ listStyleType: "none" }}>
34-
An attempt to keep it <b>LightWeight</b> as our first release (expand).
35-
</summary>
36-
<p>Reduced Requirements and moved non-important plugins to addons.
37-
<br />
38-
We have observed the startup time of less than 20 secs with just official plugins and addons 🎉. <br />
39-
(startup time may be different as per your usage.)
40-
</p>
41-
</details>
42-
</li>
43-
<li>
44-
<details open>
45-
<summary style={{ listStyleType: "none" }}>Increasing up Localisation
46-
</summary>
47-
Since Ultroid support multiple languages, Help String and other strings have been added for the <a href="https://github.com/TeamUltroid/Ultroid/tree/main/strings/strings">Translation.</a>
48-
<br />
49-
They are auto translated using Google service, but fixes are always welcome.
50-
</details>
51-
</li>
52-
53-
</ul>
54-
<br />
27+
- **SESSION** now supports `pyrogram string sessions`
28+
29+
- **Lightweight Improvements**
30+
Reduced Requirements and moved non-important plugins to addons.
31+
We have observed the startup time of less than 20 secs with just official plugins and addons 🎉
32+
_(startup time may be different as per your usage)_
33+
34+
- **Enhanced Localization**
35+
Since Ultroid supports multiple languages, Help String and other strings have been added for [Translation](https://github.com/TeamUltroid/Ultroid/tree/main/strings/strings).
36+
They are auto-translated using Google service, but fixes are always welcome.
5537

5638
## 🧑‍💻 Plugin Changes
39+
5740
- `.getmsg` (`.help utilities`)
58-
- `autocorrect,koo,xdasearch,ncode,omgubuntu,ghfeeds` are now in addons.
59-
- Setting up `INLINE_PIC` or doesn't need restart anymore.
60-
- `.promote -f` (`to promote with full/all available rights.`)
61-
- Set `CUSTOM_THUMBNAIL` to `False`, to disable thumb while uploading.
62-
- `.mediainfo` now support local file and updated `mediainfo` for images
63-
(try to know the change.)
64-
- `qrcode` now support taking circle image from replied.
65-
- some more suprising hidden changes.
41+
- `autocorrect,koo,xdasearch,ncode,omgubuntu,ghfeeds` are now in addons
42+
- Setting up `INLINE_PIC` doesn't need restart anymore
43+
- `.promote -f` (to promote with full/all available rights)
44+
- Set `CUSTOM_THUMBNAIL` to `False` to disable thumb while uploading
45+
- `.mediainfo` now supports local file and updated `mediainfo` for images
46+
(try to know the change)
47+
- `qrcode` now supports taking circle image from replied
48+
- Some more surprising hidden changes
6649
- `.dl <message_link>`
67-
<br />
6850

6951
## 👮 Manager
70-
- `/kang` now supports video and webm stickers.
7152

72-
<br />
53+
- `/kang` now supports video and webm stickers
7354

7455
## 🪁 Addons
75-
- Winget Search (`.help > Inline plugins > winget`).
7656

77-
<br />
57+
- Winget Search (`.help > Inline plugins > winget`)
7858

7959
## 🪲 Bug Fixes
60+
8061
- fakeaction
8162
- App search
8263
- yta
83-
- missing `return` in `logo`.
64+
- missing `return` in `logo`
8465

85-
<br />
86-
<details><summary>[ For Plugin Creators. ]</summary>
87-
<ul>
88-
<li><code>pyUltroid.functions</code> is now <code>pyUltroid.fns</code>.</li>
89-
<li>Now there is no seperate development of pyUltroid, it is now merged with <b>TeamUltroid/Ultroid</b> to speed up development.</li>
90-
</ul>
91-
</details>
92-
<br />
66+
## 📝 For Plugin Creators
67+
68+
- `pyUltroid.functions` is now `pyUltroid.fns`
69+
- Now there is no separate development of pyUltroid, it is now merged with **TeamUltroid/Ultroid** to speed up development
9370

9471
## ✖️ Removed plugins
95-
- MegaDL
9672

97-
<br />
73+
- MegaDL
9874

9975
## 🗣️ Language Changes
100-
- Updated `pt-br` by [igorzbr](https://github.com/TeamUltroid/Ultroid/commits?author=igorzbr), [5H4ND](https://github.com/TeamUltroid/Ultroid/commits?author=5H4ND)
101-
- Added Uzbek language by [Technobladeuzb](https://github.com/TeamUltroid/Ultroid/commits?author=Technobladeuzb)
10276

103-
<br />
77+
- Updated `pt-br` by [igorzbr](https://github.com/TeamUltroid/Ultroid/commits?author=igorzbr) and [5H4ND](https://github.com/TeamUltroid/Ultroid/commits?author=5H4ND)
78+
- Added Uzbek language by [Technobladeuzb](https://github.com/TeamUltroid/Ultroid/commits?author=Technobladeuzb)
10479

105-
<h2>
106-
<img src="https://img.icons8.com/fluency/48/000000/telegram-app.png" width="50" style={{ marginTop:"-10px", float: "left", marginRight:"5px" }} />
107-
<a href="https://t.me/TheUltroid">@TheUltroid</a>
108-
</h2>
80+
<div className="telegram-link" style={{ display: 'flex', alignItems: 'center', marginTop: '2rem', gap: '10px' }}>
81+
<img
82+
src="https://img.icons8.com/fluency/48/000000/telegram-app.png"
83+
width="40"
84+
alt="Telegram"
85+
/>
86+
<a href="https://t.me/TheUltroid" style={{ fontSize: '1.5rem', textDecoration: 'none' }}>
87+
@TheUltroid
88+
</a>
89+
</div>
10990

11091

11192
<!--<div className={styles.buttons}>

0 commit comments

Comments
 (0)