lefthandedgoat / canopy

f# web automation and testing library, built on top of Selenium (friendly to c# also)
http://lefthandedgoat.github.io/canopy/
MIT License
506 stars 115 forks source link

#461 Changed build script to use fake instead of fsi for docs generation #474

Closed vbop9834 closed 4 years ago

vbop9834 commented 5 years ago

Thank you to the wonderful people of F# for leaving a bread crumb trail

https://github.com/fsprojects/ProjectScaffold/commit/6e4a6b63a8d6e63a1c89733bb69a2150ebf0deaf#diff-2efaaa9f2632e3258cdcbc80f78883eaR186

https://github.com/fsharp/FAKE/issues/1092

vbop9834 commented 5 years ago

@lefthandedgoat It was ignoring the exit code before. Do we want to continue ignoring the exit code of the script?

vbop9834 commented 5 years ago

Not ready yet. found a bug. Investigating

vbop9834 commented 5 years ago

A big future project:

Migrate FAKE scripts to FAKE 5 (fully support Dotnet core)

https://fake.build/fake-migrate-to-fake-5.html

Potential Obstacles

Pros

Ideas

vbop9834 commented 5 years ago

Current Issues

thinkbeforecoding commented 5 years ago

@JeremyBellows in FSharp.Text.RegexProvider I updated the doc generation to not use Razor, but Fable.React server side rendering...

lefthandedgoat commented 4 years ago

Thanks a mil Jeremy!

lefthandedgoat commented 4 years ago

Jeremy if you have the willpower to look into this, errors were thrown during the reference generation and it looks like some pages are not there (classic, parallell, and instanced looks broke)

http://lefthandedgoat.github.io/canopy/reference/index.html

Also, all the paths on the right hand list of links like Actions etc, are pointed at c://my/path/to/canopy

http://lefthandedgoat.github.io/canopy/index.html

vbop9834 commented 4 years ago

I think it's time to start the big project mentioned above.

We need to migrate FAKE to FAKE 5.0

Much thanks to @thinkbeforecoding for removing Razor! That was a huge obstacle.

@lefthandedgoat If we follow the migration docs in order then it will hopefully be not as painful.

Another option is recreating canopy with a blank dotnet core template. I'm not confident yet that this is a less painful route.

What do you want to do?

lefthandedgoat commented 4 years ago

@JeremyBellows Fake 5 is fine with me. If we remove the two deprecated Nuget targes, the script is less than 200 lines long which seems manageable?

lefthandedgoat commented 4 years ago

@JeremyBellows I have updated to Fake5 except for what I think are a few new helpers you added earlier.

https://github.com/lefthandedgoat/canopy/tree/484-fix-documentation

Does that put it in a good place for you?