在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):haskell-infra/www.haskell.org开源软件地址(OpenSource Url):https://github.com/haskell-infra/www.haskell.org开源编程语言(OpenSource Language):CSS 49.8%开源软件介绍(OpenSource Introduction):Haskell.org WebsiteThis repository holds the source code and content for
www.haskell.org. Questions about and issues with the site can
be raised in this repository, and PRs can be made to change
content. More general administrative issues with the site or related
haskell.org infrastructure are better raised directly with the admin
team.
Not everything beneath Developing the websiteThe website is built as a Hakyll static site, which builds both as a nix derivation and a standalone cabal project. Community contributionsWe welcome contributions from the community. To see which things we need particular help with, please see the community contributions meta-ticket. If you have your own idea for a change you would like to see you are welcome to submit a PR. Before you start work on your idea you might like to file a new issue to discuss it with the maintainers to get an estimate for how likely it is to be accepted. PRs are accepted according to the PR policy of this repository. Making ChangesThe easiest way to see the effect of your changes is to use the If you are only making changes to the content of the site, you can leave this script running and it will automatically pick up changes and re-build the site for you. If you want to change the Submitting ChangesOnce you're satisfied with your changes, make a PR and the maintainers will try to review it as soon as we can. Working On The BuilderThe If you want to make a quick change or two, you can continue to use the
Manually Building the Site With CabalIf you don't have nix installed, or if you are inside of the project's nix
shell, you will want to use cabal to compile the builder. To do so, enter the
cabal v2-build Once compiled, the builder must be run from the project root directory so that it can find all of the content. To run the builder, you need to first find the name of the executable. From the builder directory, you can find the executable path by running:
Using that path, you can run the builder from the project root directory. Manually Building the Site With NixIf you have nix installed, you can have nix build the builder by running:
You may then run the builder binary from the
DeployingThe site will automatically be deployed live to http://www.haskell.org/ every time a branch is merged to SubsitesNot all subsites of www.haskell.org are built from this repository. Some of the others are
Details on subsites
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论