dexweb 4.2.0__tar.gz → 4.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dexweb-4.2.0 → dexweb-4.2.1}/PKG-INFO +6 -4
- {dexweb-4.2.0 → dexweb-4.2.1}/README.md +4 -2
- {dexweb-4.2.0 → dexweb-4.2.1}/pyproject.toml +2 -2
- {dexweb-4.2.0 → dexweb-4.2.1}/src/dexweb/dexgen.py +4 -0
- {dexweb-4.2.0 → dexweb-4.2.1}/LICENSE +0 -0
- {dexweb-4.2.0 → dexweb-4.2.1}/src/dexweb/__init__.py +0 -0
- {dexweb-4.2.0 → dexweb-4.2.1}/src/dexweb/dexweb.py +0 -0
- {dexweb-4.2.0 → dexweb-4.2.1}/src/dexweb/favicon.ico +0 -0
- {dexweb-4.2.0 → dexweb-4.2.1}/src/dexweb/styles.css +0 -0
- {dexweb-4.2.0 → dexweb-4.2.1}/src/dexweb/thematrix.json +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: dexweb
|
|
3
|
-
Version: 4.2.
|
|
4
|
-
Summary: Dexweb makes dex, a programmatically generated website, to put on the web. Latest release: v4.2.
|
|
3
|
+
Version: 4.2.1
|
|
4
|
+
Summary: Dexweb makes dex, a programmatically generated website, to put on the web. Latest release: v4.2.1. Updates self The Matrix Dex copy of dexweb library.
|
|
5
5
|
Project-URL: Homepage, https://alinoorul.github.io/researchengine
|
|
6
6
|
Project-URL: Issues, https://github.com/matrixdex/devpy
|
|
7
7
|
Project-URL: Documentation, https://matrixdex.github.io/dexweb
|
|
@@ -29,13 +29,15 @@ Dexweb builds you a dex to put on the web. Dexweb generates a website from PDF,
|
|
|
29
29
|
|
|
30
30
|
A dex is free programmatically generated website. Dexs are used to put research papers, research protocols, company documentation, books, articles and presentations on the Internet for free. Anywhere text is generated with algorithms like in research or company finances, a dex can be used to put data on the web. Dex is a standardized format for publishing simple websites optimized for PC, mobiles and tablets.
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Versions/
|
|
33
|
+
4.2.1 fixes javascript injection failures from config.json to pages
|
|
34
|
+
4.2.0 adds sample dex called The Matrix Dex. Use it as self-referential text. Generated on blank dex name.
|
|
33
35
|
|
|
34
36
|
```bash
|
|
35
37
|
pip install dexweb
|
|
36
38
|
```
|
|
37
39
|
|
|
38
|
-
[Documentation](https://matrixdex.github.io/dexweb)is a dex. Meta we know!
|
|
40
|
+
[Documentation](https://matrixdex.github.io/dexweb) is a dex. Meta we know!
|
|
39
41
|
|
|
40
42
|
|
|
41
43
|
|
|
@@ -2,13 +2,15 @@ Dexweb builds you a dex to put on the web. Dexweb generates a website from PDF,
|
|
|
2
2
|
|
|
3
3
|
A dex is free programmatically generated website. Dexs are used to put research papers, research protocols, company documentation, books, articles and presentations on the Internet for free. Anywhere text is generated with algorithms like in research or company finances, a dex can be used to put data on the web. Dex is a standardized format for publishing simple websites optimized for PC, mobiles and tablets.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Versions/
|
|
6
|
+
4.2.1 fixes javascript injection failures from config.json to pages
|
|
7
|
+
4.2.0 adds sample dex called The Matrix Dex. Use it as self-referential text. Generated on blank dex name.
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
10
|
pip install dexweb
|
|
9
11
|
```
|
|
10
12
|
|
|
11
|
-
[Documentation](https://matrixdex.github.io/dexweb)is a dex. Meta we know!
|
|
13
|
+
[Documentation](https://matrixdex.github.io/dexweb) is a dex. Meta we know!
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "dexweb"
|
|
7
|
-
version = "4.2.
|
|
7
|
+
version = "4.2.1"
|
|
8
8
|
dependencies = [
|
|
9
9
|
"pypdf",
|
|
10
10
|
"importlib_resources",
|
|
@@ -14,7 +14,7 @@ dependencies = [
|
|
|
14
14
|
authors = [
|
|
15
15
|
{ name="Noorul Ali", email="manonthemoon13131@gmail.com" },
|
|
16
16
|
]
|
|
17
|
-
description = "Dexweb makes dex, a programmatically generated website, to put on the web. Latest release: v4.2.
|
|
17
|
+
description = "Dexweb makes dex, a programmatically generated website, to put on the web. Latest release: v4.2.1. Updates self The Matrix Dex copy of dexweb library. "
|
|
18
18
|
readme = "README.md"
|
|
19
19
|
requires-python = ">=3.8"
|
|
20
20
|
classifiers = [
|
|
@@ -180,6 +180,10 @@ class Dexgen:
|
|
|
180
180
|
self.page_template=self.get_config("page_template")
|
|
181
181
|
template = self.page_template.format(title,self.dexname,title.upper(),k,self.dexname.upper())
|
|
182
182
|
|
|
183
|
+
if self.config_javascript != None and "page_javascript" in self.config_javascript.keys() and len(self.config_javascript["page_javascript"])>2:
|
|
184
|
+
p = str(template.split('</head>')[0]) + str(self.config_javascript['page_javascript']) + '</head>' + str(template.split('</head>')[1])
|
|
185
|
+
template = p
|
|
186
|
+
|
|
183
187
|
return template
|
|
184
188
|
|
|
185
189
|
def save_webpages(self,site_folder_path,assets_path,styles_path,pages):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|