Commit Graph

80 Commits

Author SHA1 Message Date
MyDrift
5e3c6ba452
[Docs 02] Auto dev-docs & more (#2481)
* Compile Winutil

* pre-Releases (#1)

* Create pre-release.yaml

* Update release.yaml

* Update pre-release.yaml

* Create release-drafter.yml

* Update release-drafter.yml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update release-drafter.yml

* Update pre-release.yaml

* Update release-drafter.yml

* Update pre-release.yaml

* Update release-drafter.yml

* Update release-drafter.yml

* Update pre-release.yaml

* Update pre-release.yaml

* Update release-drafter.yml

* Update release-drafter.yml

* Update release.yaml

* Update release-drafter.yml

* Update release-drafter.yml

* Update pre-release.yaml

* Compile Winutil

* fixed end task with right click

* Compile Winutil

* code generator & compile integration

* Compile Winutil

* finish

- add autogenerated table of content page named "Dev Docs", with table of content to all .md files
- added invokescript & undoscript
- generate documentation files

* oops, remove dublicates

* undo winutil.ps1

* remove prefixes

WPF
WinUtil
Toggle
$category
Features
Tweaks
Panel
Fixes

* fixes

- fix inconsistency in Featurenaming
- add "Enable" & "Disable" as prefix to remove

* fix spellin mistake

* remove unneccesary whitespaces

update info
remove unnecessary whitespaces by only adding stuff to the md if it actually exists

* rewrite prefix removal into one line definition

* added taskscheduler support

* add support for function calling

add support for functioncalling
- replace code formatting for invoke & undo script from json to powershell

* content instead of displayname

* add last modified date

* contributing + docs generator

- moved contribute.md to root CONTRIBUTING.md
- referenced CONTRIBUTING.md in contribute.md
- added toggle & button reference to functions
- added function references in functions
- changed mkdocs site styling

* Use HashSet for processedFunctions

Use HashSet for processedFunctions:
- Ensures dynamic addition of functions without duplication.
Recursive Function Scanning:
- Includes all nested functions called by InvokeScript, UndoScript, ToggleScript, and ButtonScript.

* follow github standards

- add code of conduct
- reference code of conduct in docs
- regrouped docs navigation
- add comment about the sourced md file

* small fixes

* change color from teal to blue in light mode

* add links to tweaks

* add archiving feature to autodocs

* administrative

- add script to releases and remove from compile
- move link from after description to after category

* small fixes

- add S in feature.json
- fix dating
- move link to after category

* fix links

* undo link bc of bugs

* add progress bar to script

- add progress like in compile
- moved archive folder creation to the beginning of the script

* Simple improvements to 'auto-devdocs' branch (#3)

* Fix links for tweaks & features

* Make New Line characters work for Json Snippet

* Change NewLine Character from Unix Style (LF) to Windows/DOS Style (CRLF)

* rerun script

* und workflows & rearrange navigation items

* layer out itemname cutout

* rework links & temp removal of archivation

* fix adding link in json root

not adding link member to root in json files

* fix json generation

replace '\r\n',"`r`n" with ('\n',"`n")

* add features to auto md docs

* add minify plugin

* regex hotfix

* refractor

* add changelog to about section

add link to changelog in docs for about section

* undo changelog

* Cleanup 'devdocs-generator.ps1' - Implement Zig Multiline String Feature (#4)

* Cleanup 'devdocs-generator.ps1' - Implement Zig Multiline String Feature

* Fix NewLine character replace in 'devdocs-generator.ps1'

* run script

* run script

* Fix 'itemnametocut' RegEx in 'devdocs-generator.ps1' (#5)

* rerun script

* rework nav + remove code of conduct

* undo workflow changes

* run script

* remove changelog

---------

Co-authored-by: MyDrift-user <MyDrift-user@users.noreply.github.com>
Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
2024-08-07 10:55:23 -05:00
Chris Titus
123d78116b
Delete .github/workflows/createchangelog.yml 2024-08-07 10:42:12 -05:00
Chris Titus
f38f534850 Edge Removal Fix 2024-08-06 15:50:36 -05:00
Mr.k
3903eaaa24
Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383)
* Replace Tabs with Spaces to follow the conventions

* Add Preprocessing in Compiler

* Compile from Anywhere you want - Running 'Compile.ps1' Works in any directory you call it from

* Code Formatting Changes

* Result of Preprocessing Step in 'Compile.ps1' Script - Remove Trailing Whitespace Characters

* Make Preprocessing more advanced

* Move Preprocessing to a separate script file

* Make Self Modification impossible for 'tools/Do-PreProcessing.ps1' Script - Make the workingdir same as sync.PSScriptRoot for consistency

* Revert commit b5dffd671f

* Patched a Bug of some Excluded Files not actually get excluded in 'Get-ChildItem' PS Cmdlet

* Update Replace Regex for Code Formatting in 'Do-PreProcessing' Script Tool

* Rename 'Do-PreProcessing' to 'Invoke-Preprocessing' - Update some Comments

* Make 'Invoke-Preprocessing' Modular - Update RegEx to handle more cases - Update Documentation - Add Validations & Useful feedback upon error

* Replace Tabs with Spaces to follow the conventions - 'applications.json' File

* Code Formatting Changes - 'Copy-Files' Private Function

* Update Replace Regex for Code Formatting in 'Invoke-Preprocessing' Script Tool

* Replace Tabs with Spaces to follow the conventions - Make 'ExcludedFiles' validation step check all filepaths before finally checking if any has failed

* Result of 'Invoke-Preprocessing' Script

* Update Replace Regex for Code Formatting in 'Invoke-Preprocessing' Script Tool
2024-08-06 15:35:17 -05:00
Chris Titus
4ee41cf198 error check code signing 2024-08-02 19:10:09 -05:00
Chris Titus
5a89053534 Update compile.yaml 2024-08-02 19:01:44 -05:00
Chris Titus
80675b4c3f add code signing to ps1 file 2024-08-02 18:51:50 -05:00
Chris Titus
2a530d0c12 Update createchangelog.yml 2024-07-30 21:41:52 -05:00
Chris Titus
fb1a0b919c Update pre-release.yaml
bug fix and error handling
2024-07-30 21:33:30 -05:00
Chris Titus
83bcf246f6 Merge branch 'main' of https://github.com/ChrisTitusTech/winutil 2024-07-30 21:16:52 -05:00
Chris Titus
e2567bddc9 Update close-discussion.yml 2024-07-30 21:16:47 -05:00
Martin Wiethan
2d185e1919
Disable the Generate Sponsors Cronjob on Forks (#2473)
* Compile Winutil

* Only run Sponsor Cron on Main Repo

* Remove winutil from pR

---------

Co-authored-by: Marterich <Marterich@users.noreply.github.com>
2024-07-30 21:14:36 -05:00
Chris Titus
3929459106 Update close-discussion.yml 2024-07-30 21:05:13 -05:00
Chris Titus
7de93ae208
Update github-pages.yml
revert to v4
2024-07-25 16:28:02 -05:00
dependabot[bot]
8baacc2966
Bump actions/setup-python from 4 to 5 (#2388)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-25 15:44:42 -05:00
Mr.k
363ed1c41b
Fix 'Update changelog.md on Release' Workflow (#2410)
* A Fix for 'createchangelog.yml' & Rename File 'updates.md' to 'changelog.md'

* Fix GitHub CLI Not Working

* Increase the limit for Release List to 1000000

* Add '--exclude-drafts' & '--exclude-pre-releases' to GitHub CLI Release List Command

* Rewrite Bash Script found in a step of 'Update changelog.md on Release' GitHub Workflow

* Change the Content Generation a bit in 'Update changelog.md on Release' GitHub Workflow

* Reorder the Content Generation in 'Update changelog.md on Release' GitHub Workflow

* Update Regex for 'Update changelog.md on Release' Worflow

* Change the Release Event Types to 'Published, Edited, Created, Deleted' to ensure the Changelog is Up-To-Date
2024-07-25 15:27:09 -05:00
Mr.k
9bc6adf191
Fix 'Close Discussion on PR Merge' Workflow (#2423)
* A Fix for 'close-discussion.yml' Workflow

* Update Regex for 'Close Discussion on PR Merge' Worflow

* Finish last step in 'Close Discussion on PR Merge' Workflow

* Remove & Merge the Steps in 'Close Discussion on PR Merge' Workflow

* Re-Add Missing Environment Variable

* Update Regex for 'Close Discussion on PR Merge' Worflow
2024-07-25 15:17:54 -05:00
Mr.k
7acb213a77
Skip 'Close Issue on /close' Workflow if the comment was posted on a PR (#2426) 2024-07-25 15:12:06 -05:00
Chris Titus
e784604a1a
Update pre-release.yaml 2024-07-17 13:54:22 -05:00
Chris Titus
e8022b8556
Update github-pages.yml 2024-07-17 13:53:44 -05:00
Chris Titus
508f909fc9 Update pre-release.yaml 2024-07-17 01:04:39 -05:00
Chris Titus
60a6c387e2 Update pre-release.yaml 2024-07-17 01:01:44 -05:00
Chris Titus
1307abc1d6 Update pre-release.yaml 2024-07-17 00:55:44 -05:00
Chris Titus
45a103f76b Update pre-release.yaml 2024-07-17 00:53:21 -05:00
Chris Titus
b84c0d9248 Update pre-release.yaml 2024-07-17 00:52:12 -05:00
Chris Titus
f51c30023a Merge branch 'main' of https://github.com/ChrisTitusTech/winutil 2024-07-17 00:44:04 -05:00
Chris Titus
bce4868896 Update pre-release.yaml 2024-07-17 00:43:58 -05:00
dependabot[bot]
8141baa879
Bump actions/cache from 2 to 4 (#2390)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17 00:38:57 -05:00
dependabot[bot]
280f8a7dbc
Bump actions/checkout from 2 to 4 (#2389)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17 00:38:33 -05:00
Chris Titus
0a472c06c4 Cleanup version creation 2024-07-17 00:36:59 -05:00
Chris Titus
1c72007a29 Update pre-release.yaml 2024-07-17 00:29:37 -05:00
Chris Titus
07434f706b Update pre-release.yaml 2024-07-17 00:13:56 -05:00
Chris Titus
a38cfb14d3 pin action/stale and tag debug 2024-07-17 00:03:31 -05:00
Chris Titus
829e46b3a8 fix github actions 2024-07-16 23:55:54 -05:00
Real-MullaC
5d3d47eeb5
Fixes release log (#2377)
* Update createchangelog.yml

* Update createchangelog.yml

* Update createchangelog.yml

* Update createchangelog.yml

---------

Co-authored-by: Chris Titus <contact@christitus.com>
2024-07-16 15:26:48 -05:00
Wojciech Smoliński
bc213d34d9
Update workflows to remove ::set-output (#2384)
remove ::set-output usage
remove `$version` asc a enviroment variable as ot's not used
2024-07-16 15:11:24 -05:00
Chris Titus
df2cd71d1e
Update close-discussion.yml 2024-07-16 14:08:24 -05:00
Martin Wiethan
a760400aeb
Add /close command for the active contributors to close issues (#2380)
* initialize slash commands

* Fix string

* fix username
2024-07-16 14:05:28 -05:00
MyDrift
78a6a60d96
Repo Cleanup (#2367)
* remove trailing whitespaces, remove unused img folder

* Rename TweaksScreen.PNG to TweaksScreen.png

* restructure "Install-WinUtilProgramWinget"

* undo programwinget function rework

* fix typo
2024-07-16 14:02:31 -05:00
Real-MullaC
1fb986a05d
Update close-discussion.yml (#2364) 2024-07-16 14:01:06 -05:00
Chris Titus
7dba867101 fix duplicate items in releases 2024-07-16 13:58:31 -05:00
Chris Titus
ce787a9074 gh update.mb docs 2024-07-16 13:14:55 -05:00
Chris Titus
425ec42cb5 Update createchangelog.yml 2024-07-16 13:10:23 -05:00
Real-MullaC
ad9cc6fffd
Fixes an issue with create changelog not working (#2375)
* Update createchangelog.yml

* Update createchangelog.yml
2024-07-16 10:55:30 -05:00
Chris Titus
e182d2433f Sponsors 2024-07-14 21:01:12 -05:00
Chris Titus
792a5c4b38 label github page deployment action 2024-07-14 20:44:52 -05:00
Martin Wiethan
ff0b3d29cf
Optimize badges (#2356)
* Switch Readme to show total downloads of all time

* Add download counter for specific releases automatically to release
2024-07-14 20:16:38 -05:00
Real-MullaC
bdb60b0b44
Discussions close on PR merge (#2336) 2024-07-13 11:00:37 -05:00
Real-MullaC
2844b0df54
Adds all files for winutil docs (#2342)
* Adds all files for winutil docs

* Adds and changes content

* Adds more content

* Added even more content to the docs

* Create screen-install.png

* Adds KnownIssues File

* Delete createchangelog.yml

* Fixes spelling
2024-07-13 10:59:35 -05:00
Real-MullaC
01837b028a
Create createchangelog.yml (#2346) 2024-07-13 10:58:07 -05:00