tugboatqa / docs Goto Github PK
View Code? Open in Web Editor NEWTugboat Docs
Home Page: https://docs.tugboat.qa
License: MIT License
Tugboat Docs
Home Page: https://docs.tugboat.qa
License: MIT License
We need some formal documentation about how to use the Tugboat CLI.
I'm not sure where to put this, but this is how I got the CLI up and running on my mac.
curl --remote-name https://dashboard2.tugboat.qa/cli/macos/tugboat chmod +x ./tugboat mv ./tugboat /usr/local/bin/
Some instructions similar to this would be helpful, but I'm not sure how to put it into the current page.
and for what it's worth, curl doesn't add the ".dms" extension like Safari does.
Topics might include:
CNAME preview.tugboat.qa
)Build Previews for Forked Pull Requests
(in Repository Settings) and enable it(from conversation in Support Slack)
Links to anchors with underscores are broken on https://docs.tugboat.qa/reference/tugboat-configuration/.
For example, checkout_path links to https://docs.tugboat.qa/reference/tugboat-configuration/#checkoutpath, but should link to https://docs.tugboat.qa/reference/tugboat-configuration/#checkout-path
This appears to be a difference in rendering between gitbook and hugo
Add a screenshot for read-only users; as a regular user or admin, I have no easy way to know exactly what that is. For example, does the "preview" button for previews show all configured URLs for all services, or just the first one?
With the transition to Hugo, we are losing the search feature from our 404 page. It'd be great to get that back, but it's going to take a little doing. I found an article explaining one way to do it, which looks promising.
echo "memory_limit = 512M" >> /usr/local/etc/php/conf.d/my-php.ini
Create a page for Adding Google Lighthouse to your Tugboat Project, verify that this process works: https://tugboat.qa/2018/09/18/automating-google-lighthouse.html
Per conversation with Ben:
Visual Diffs = pixel by pixel comparison of Before and After. % calculation is a literal calculation of how many pixels have changed in the page from Before to After. If you move something at the top of the page that bumps content down, the whole page may show up as changed as a result. Consider adding info around this to the Using Visual Diffs page, and possibly Troubleshooting - i.e. why does my entire page show as changed?
CLI and Background Process have already been incorporated elsewhere in docs. Figure out a place to put "Custom Environment Variables" and then remove "Advanced" from the site.
custom-environment-variables/index.md
to reflect new locationHere's the HTML for the logo:
https://github.com/TugboatQA/docs/blob/hugo-migration/layouts/partials/logo.html
The working doc for custom CSS is here:
https://github.com/TugboatQA/docs/blob/hugo-migration/static/css/tugboat.css
The directory for the SVGs are here:
https://github.com/TugboatQA/docs/tree/hugo-migration/static/images
Review/Edit docs for:
Add repos to the project
into separate sections: new project, add repos to existing project.Review/edit Reference docs, and incorporate into docs where possible:
It's helpful to be able to link directly to a heading, especially with support requests. Thankfully, there's a gitbook plugin for this:
Let's use the same favicon(s) as https://tugboat.qa
build
- and/or link to build stages explainedAny URL that links to index.md
doesn't open on docs.tugboat.qa
There are a couple URLs to test on this page here:
Looks like we're missing a robots.txt in this site:
$ curl -I https://docs.tugboat.qa/robots.txt
HTTP/1.1 404 Not Found
Date: Mon, 09 Apr 2018 19:09:43 GMT
Server: Apache/2.4.33 (Unix) OpenSSL/1.0.2l
Content-Type: text/html; charset=iso-8859-1
composer install
in the build targetWe also should make sure that our Drupal 8 example tugboat project uses the same Makefile.
The link to the shared Makefile source is broken.
runit
documentation, per Ben's response in the Support Slack.Also, add info around this to Troubleshooting -> Fix Problem X
We are not very up-front about how these calculations are made. Let's add a section somewhere to lay it all out.
Matt pointed out in the Support Slack that developers could define variables in their config files, like so: https://gist.github.com/mettamatt/18b9febcf4c33aa7cea8b1d757d9e934#file-lighthouse_config-yml-L27
Add a note about this to docs - maybe under custom environment variables?
Build Previews for Forked Pull Requests
under Modify settings for your GitHub, GitLab or Bitbucket Integration
By default, Tugboat will not build Previews for forked PRs. Click this setting to enable this feature. When this feature is not enabled, Forked PRs will show up as available to build, but users will get an error if they try to build them.
The Tugboat CLI documentation should explicitly state that -h, --help
can be used to query a specific command for more details (i.e. the args you can use with that command, etc.)
Revise Visual Diffs page, including:
visualdiffs
service key (linked to Setting up Services -> Service Attributes -> visualdiffs
visualdiffs
attribute writeup to the Visual Diffs pagevisualdiff
under php vs. apache, etc. (see note from James)A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.