From 03841a162aa439f6f7a7587f80c73d571acf7a91 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sat, 24 Jun 2023 08:53:50 +0900 Subject: [PATCH] remove `nanoc` mention --- .gitignore | 2 -- README.md | 33 --------------------------------- project/Docs.scala | 1 - 3 files changed, 36 deletions(-) diff --git a/.gitignore b/.gitignore index 8f9cb247..f5afbd47 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,6 @@ .bsp *.log -src/nanoc/output -src/nanoc/tmp *.zip diff --git a/README.md b/README.md index 41cde42f..c6eeb319 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,6 @@ See [contributors](https://github.com/sbt/website/graphs/contributors) for the l [scala-sbt.org](https://www.scala-sbt.org) is powered by: -* [nanoc](http://nanoc.ws/) to generate the landing pages. - * [Pamflet](http://www.foundweekends.org/pamflet/), a Scala-based documentation engine written by [@n8han][] (and some contributions from [@eed3si9n][]) generates the sbt 0.13/1.x documentation. * [Pandoc](https://pandoc.org/) [2.3.1](https://pandoc.org/releases.html#pandoc-2.3.1-28-september-2018), to generate pdf files. @@ -25,36 +23,6 @@ Add your plugin to this page and send us a pull request if your plugin is not al ## Setup -### Minimum setup - -Currently, nanoc requires Ruby 2.1 or greater. - -You'll need the following gems for running nanoc: - -``` -$ gem install nanoc:4.0.2 -$ gem install redcarpet -$ gem install nokogiri -``` - -If you're running Ubuntu, you'll need to also install ruby-dev for the native-code in redcarpet: - -``` -$ sudo apt-get install ruby-dev -``` - -Also, if you're on Ubuntu you might see an error like this: - -``` -zlib is missing; necessary for building libxml2 -``` - -If this is the case, run this: - -``` -$ sudo apt-get install zlib1g-dev -``` - ### Full setup The PDF generation is optional, and requires the following additional steps to install @@ -100,7 +68,6 @@ Beware that sbt-ghpages interacts badly if your home directory is a git reposito - Make sure you **enable** pdf generation: `sbt -Dsbt.website.generate_pdf` - Update `sbt.version` in `project/build.properties` - Update `targetSbtFullVersion` in `project/Docs.scala` -- Add last release to "Previous releases" in `src/nanoc/nanoc.yaml` - Update `sbtVersion`, `windowsBuild` and `sbtVersionForScalaDoc` in `src/reference/template.properties` ## Dollar sign diff --git a/project/Docs.scala b/project/Docs.scala index a2362afe..3c2daf6c 100644 --- a/project/Docs.scala +++ b/project/Docs.scala @@ -29,7 +29,6 @@ object Docs { // New documents will live under /1.x/ instead of /x.y.z/. // Currently the following files needs to be manually updated: - // - src/nanoc/nanoc.yaml // - src/reference/template.properties lazy val targetSbtBinaryVersion = { if (isBetaBranch) "1.x-beta"