summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-04-17 15:16:50 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-04-17 15:16:50 -0600
commitd2dfa337171fdad8ed48ce95e3b8f91e291423b7 (patch)
tree0a2b46b1f0510b13eb2d4cc2f06ed9d393ac8234
parent3c0691df1b7ff1fd04e22ab6055e84cc2137504e (diff)
add build and upload command, modified readme
-rw-r--r--AUTHORS2
-rw-r--r--ChangeLog33
-rw-r--r--README.md9
-rwxr-xr-xbuild_upload.sh14
4 files changed, 33 insertions, 25 deletions
diff --git a/AUTHORS b/AUTHORS
index d7cd106..1b11bba 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,2 +1,4 @@
+David Luevano Alvarado <55825613+luevano@users.noreply.github.com>
David Luevano Alvarado <david@luevano.xyz>
David Luevano Alvarado <lorentzeus@gmail.com>
+El LM <lmcj@lmcj.xyz>
diff --git a/ChangeLog b/ChangeLog
index de1c8f6..c96e9bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,30 +1,25 @@
CHANGES
=======
-v0.5.8
-------
-
+v0.6.0
+------
+
+* refactor config handler and more
+* add default configuration to resources
+* refactor argument parser
+* update requirements
+* The bullets did not have checkboxes in the To be added section
+* A header was wrong
+* A little documentation added to avoid mistakes by new users
+* kek xd rofl lmao forgot to save a file:), now actually a quick fix
+* quick fix on random uppercased letters
+* Delete pyssgrc
+* fix bug on new extensions
* add new extensions
-
-v0.5.7
-------
-
* fix bug on prev/next objects of page
-
-v0.5.6
-------
-
* add config to read first pyssgrc and then to the xdg directory
* fix bug on image\_url
-
-v0.5.5
-------
-
* fix another bug
-
-v0.5.4
-------
-
* fix bug
v0.5.3
diff --git a/README.md b/README.md
index 1a0a3b4..7845805 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Inspired (initially) by Roman Zolotarev's [`ssg5`](https://rgz.ee/bin/ssg5) and [`rssg`](https://rgz.ee/bin/rssg), Luke Smith's [`lb` and `sup`](https://github.com/LukeSmithxyz/lb) and, pedantic.software's great (but *"mamador"*, as I would say in spanish) [`blogit`](https://pedantic.software/git/blogit/).
-## Current features
+## Features and to-do
- [x] Build static site parsing `markdown` files ( `*.md` -> `*.html`)
- [x] ~~Using plain `*.html` files for templates.~~ Changed to Jinja templates.
@@ -19,13 +19,10 @@ Inspired (initially) by Roman Zolotarev's [`ssg5`](https://rgz.ee/bin/ssg5) and
- [ ] Extend this to tag pages and index (right now all tags and index is built no matter if no new/updated file is present).
- [x] Configuration file. ~~as an alternative to using command line flags (configuration file options are prioritized).~~
- [x] Use [`configparser`](https://docs.python.org/3/library/configparser.html) instead of custom config handler.
-
-**Please note that I've removed the use of command line flags for now as it was too much bloat and unnecessary.**
-
-### To be added/fixed
-
+ - [ ] Migrate to YAML instead of INI, as it is way more flexible.
- [x] Avoid the program to freak out when there are directories created in advance.
- [ ] Provide more meaningful error messages when you are missing mandatory tags in your `.md` files.
+- [ ] More complex directory structure to support multiple subdomains and different types of pages.
### Markdown features
diff --git a/build_upload.sh b/build_upload.sh
new file mode 100755
index 0000000..c195b5f
--- /dev/null
+++ b/build_upload.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# this is supposed to be used from within the package root dir,
+# too lazy to make it more general
+
+echo "building package"
+/bin/python -m build
+
+echo "uploading to pypi"
+# alternatively, use /bin/python -m twine, i use twine in arch
+/bin/twine upload dist/*
+
+echo "removing dist/*"
+rm -r dist \ No newline at end of file