This https://github.com/rust-lang/compiler-team/pull/103 is now merged!
@davidtwco should we have now a
gh-pages branch now or use the
also, not sure if I have the rights for that
You'll need to set up some process to populate the
gh-pages branch with the output, it isn't automatic for non-Jekyll sites AFAIK.
I guess that's what @Pietro Albini have said about
but unsure, where is the hugo command setup and all that?
I assume it is handled by the config you import.
yeah, you mean on the infra side?
Yeah, if they support Hugo.
I was wondering is there any other Rust project using Hugo?
exactly if they support Hugo, that's exactly what I'm wondering
/cc @Pietro Albini
dunno, but I think no
you need to add a travis config that first builds your site with hugo, and then uses the infra snippet to upload it
@Pietro Albini @davidtwco does any of you know how was in other Rust repos done the process of publishing to a gh-pages branch?
should I just push there?
I don't even remember if I have rights
env: RUSTINFRA_DEPLOY_DIR: path/to/be/deployed import: - rust-lang/simpleinfra/travis-configs/static-websites.yml
of course change
ok, it's always done by a bot?
that's what you mean?
ok, we need to hook Hugo someway there
@Santiago Pastorino are the changes to the readme expected ? some of the previous content seemed interesting
@lqd that is now part of the site
meanwhile is not deployed you can find that out in other md files
very cool PR in any case :)
@Federico Carrone's work :)
btw, left this https://github.com/rust-lang/compiler-team/pull/117 mid road, in case you @Federico Carrone want to pick it up
@davidtwco can you do this thing that @Jake Goulding suggested? I can merge PRs but don't have right's to change the description there
who is able to do that?
btw, the docs directory showing up on urls, that's a github pages deployment thing right?, that's not used in this case or am I wrong?
oh, someone already did?
You need to check the repo's settings if GitHub Pages is using /docs or not. You can setup to either deploy on master branch, gh-pages branch, or /docs in master branch
we have a custom deployment process
like, everything seems to be alright, but I think the issue is that the source code is in the
content/docs directory, so Hugo prefixes everything with docs
anyone tried to move the pages to the
Ah I see you are deploying in
I think you are right in the fact that since it's under
/docs Hugo puts it there. I would try to move the source files 1 directory up locally but I'm currently not able
exactly, I think @Federico Carrone place it on
/docs under the impression that we needed that but we don't, so I'd say that we need to move everything from
content and fix all the links that refers to
@davidtwco https://github.com/rust-lang/compiler-team/pull/138 :)
@lqd what other things do you see missing?
@lqd talking about this https://github.com/rust-lang/compiler-team/issues/137 that @centril opened
I think all the commits from the last 5 days or a bit less
have you seen any specific? because the docs change is from 2 days ago
kind of checked it quickly and couldn't see
IIRC my polonius ones, one from Wesley
there are some, I found
ok, I've updated the PR to fix all these things https://github.com/rust-lang/compiler-team/pull/138
@lqd I think everything is in there
@lqd, just merged it and made other fixes too
let me know if you see something missing