Skip to content

Commit

Permalink
Merge pull request #199 from webmaster442/Restructure
Browse files Browse the repository at this point in the history
Restructure
webmaster442 authored Jul 11, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents c13dc1f + c3621d0 commit d902dcc
Showing 530 changed files with 4,452 additions and 1,877 deletions.
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
[submodule "BookGen.wiki"]
path = BookGen.wiki
url = https://github.com/webmaster442/BookGen.wiki.git
[submodule "HttpServerFramework"]
path = HttpServerFramework
url = [email protected]:webmaster442/HttpServerFramework.git
54 changes: 0 additions & 54 deletions BookGen.Core/BookGen.Core.csproj

This file was deleted.

9 changes: 0 additions & 9 deletions BookGen.Core/Properties/AssemblyInfo.cs

This file was deleted.

33 changes: 0 additions & 33 deletions BookGen.Gui/BookGen.Gui.csproj

This file was deleted.

4 changes: 0 additions & 4 deletions BookGen.Gui/BookGen.Ui.csproj

This file was deleted.

1 change: 0 additions & 1 deletion BookGen.Setup/version.iss

This file was deleted.

364 changes: 94 additions & 270 deletions BookGen.sln

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion BookGen.wiki
Submodule BookGen.wiki deleted from 0f5964
71 changes: 0 additions & 71 deletions BookGen/ClassDiagram.cd

This file was deleted.

13 changes: 0 additions & 13 deletions BookGen/Contracts/IMoudleApi.cs

This file was deleted.

18 changes: 0 additions & 18 deletions BookGen/Utilities/BoolExtensions.cs

This file was deleted.

46 changes: 36 additions & 10 deletions BookGenShell.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# -----------------------------------------------------------------------------
# BookGen PowerShell Registration script
# Version 2.2
# Last modified: 2022-06-12
# Version 2.4
# Last modified: 2022-06-27
# -----------------------------------------------------------------------------

#cdg command

# cdg command
function cdg()
{
[void] [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms')
@@ -19,9 +18,41 @@ function cdg()
$FolderBrowserDialog.Dispose()
}

# lancher Command
function launcher()
{
BookGen.Launch.exe $(Get-Location).Path
}

# intro message
function intro()
{
clear
bookgen version
Write-Host " ____________________________________________________ "
Write-Host "/ To get info on using bookgen type: Bookgen Help \"
Write-Host "| To get list of commands type: Bookgen SubCommands |"
Write-Host "| To graphicaly select working directory type: cdg |"
Write-Host "| To start the bookgen launcher type: launcher |"
Write-Host "\ To redisplay this message type: intro /"
Write-Host " ----------------------------------------------------- "
Write-Host " \"
Write-Host " \ \"
Write-Host " \ /\"
Write-Host " ( )"
Write-Host " .( o )."
}

# register scripts folder to the path
$env:Path += ";$PSScriptRoot"

# set colors
Set-PSReadLineOption -Colors @{
Parameter = 'Red'
String = 'Cyan'
Command = 'Green'
}

# PowerShell parameter completion shim for BookGen
Register-ArgumentCompleter -Native -CommandName BookGen -ScriptBlock {
param($commandName, $wordToComplete, $cursorPosition)
@@ -58,9 +89,4 @@ if ($args.Count -eq 1) {
}

# welcome message
Write-Host "To get info on using bookgen type: Bookgen Help"
Write-Host "To get list of commands type: Bookgen SubCommands"
Write-Host "To graphicaly select working directory type: cdg"
Write-Host ""
bookgen version
Write-Host ""
intro
9 changes: 8 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# 2022.
# 2022.07.11
* New: ExternalLinks command
* New: Tags command
* New: Wordpress output generates tags based on output of tags command
* New: Shell on init prints version
* New: Shell extended with graphical cd command called cdg
* New: Shell prints not commited file count
* New: Math2Svg command
* New: Installer offers to install Windows Terminal & Powershell core, if not installed
* New: Installer can now run without admin rights
* Change: Markdown Title finder now warns, if title is not 1st level
* Change: PageGen module removed
* Change: Progress reporting improved
* Change: Md2HTML default template handles print better
* Change: Windows terminal profile has now a distinct theme
* Change: Windows terminal profile now uses powershell core, if installed
* Change: Laucnher has now a built in command documentation
* Fix: Console Gui memory leaks
* Fix: Updated wiki documentation

# 2022.05.23
* New: Better, simplistic icon
1 change: 0 additions & 1 deletion HttpServerFramework
Submodule HttpServerFramework deleted from f22ead
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<OutputPath>..\bin\$(Configuration)\</OutputPath>
<OutputPath>..\..\bin\$(Configuration)\</OutputPath>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Product>BookGen</Product>
@@ -21,11 +21,11 @@
<PackageLicenseFile>LICENCE</PackageLicenseFile>
<Version>18.0</Version>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<DocumentationFile>..\bin\$(Configuration)\BookGen.Api.xml</DocumentationFile>
<DocumentationFile>..\..\bin\$(Configuration)\BookGen.Api.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\LICENCE">
<None Include="..\..\LICENCE">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -18,5 +18,12 @@ public interface IReadOnlyTemplateOptions
/// <param name="value">Casted setting value</param>
/// <returns>true, if setting found and casted succesfully to target type, otherwise false</returns>
bool TryGetOption<T>(string setting, out T value) where T : struct;

/// <summary>
/// Get a key value
/// </summary>
/// <param name="key">key to get</param>
/// <returns>value of given key</returns>
string this[string key] { get; }
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion BookGen.Api/Link.cs → Libs/BookGen.Api/Link.cs
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ public Link(string text, string url)
/// <returns>A link on host</returns>
public string ConvertToLinkOnHost(string host)
{
var file = System.IO.Path.ChangeExtension(this.Url, ".html");
string? file = System.IO.Path.ChangeExtension(this.Url, ".html");
return $"{host}{file}";
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -4,9 +4,8 @@
<TargetFramework>net6.0</TargetFramework>
<Authors>Ruzsinszki Gábor</Authors>
<Nullable>enable</Nullable>
<OutputPath>..\bin\$(Configuration)\</OutputPath>
<PackageProjectUrl>https://github.com/webmaster442/BookGen</PackageProjectUrl>
<RepositoryUrl>https://github.com/webmaster442/BookGen</RepositoryUrl>
<ImplicitUsings>enable</ImplicitUsings>
<OutputPath>..\..\bin\$(Configuration)\</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>

@@ -19,7 +18,9 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BookGen.Core\BookGen.Core.csproj" />
<ProjectReference Include="..\BookGen.Api\BookGen.Api.csproj" />
<ProjectReference Include="..\BookGen.DomainServices\BookGen.DomainServices.csproj" />
<ProjectReference Include="..\BookGen.Domain\BookGen.Domain.csproj" />
</ItemGroup>

</Project>
Loading

0 comments on commit d902dcc

Please sign in to comment.