Cleanup of /common/ #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
/common/
directory is currently a mess of unsorted files. It would help with develpopment to sort at least by file type.Proposing adding the following folders:
/common/js/
- Stores all JavaScript files/common/php/
- Stores all PHP files/common/css/
- Stores all CSS filesFor
/common/prisim/
and other 3rd party libraries these could remain in their respective folders.There are also several files that don't seem to be used anywhere on the site. These should be removed as part of the cleanup.
Examples
/common/gallery.css
- The CSS contained in it is used to render the floating images but isn't loaded on pages that contain images and it's rules have been added to/common/styles.css
./common/page_menu_table.php
- Appears to have been used at one point to render directory listings as a table. The site currently uses/common/page_menu.php
to do this function but the output is a<nav>
menu.There may be others.
/common/gallery.js
also apears to have been rolled into/common/page_format.js
./common/font_size.js
is an empty file./common/prisim/
should be renamed to/common/prism/
to reflect the proper spelling of the project./common/markdown.php
has been deprecated in favor of/common/md_read.php
./common/path_menu.php
is empty.Current list of empty or deprecated files
To be updated as more are found.
Empty
/common/font_size.js
/common/path_menu.php
Deprecated
/common/gallery.js
/common/gallery.css
/common/markdown.php
/common/page_menu_table.php
Further deprecation or empty file cleanup will be moved to issue #7.
This has been resolved as of PR #19 being merged into master.