Skip to content

Conversation

guswynn
Copy link
Contributor

@guswynn guswynn commented Jan 25, 2020

The rust reference repo has mdbook test as part of its CI, so when I was working on a PR here, mdbook test being broken confused me, so I figured I would make a PR to fix it.

I added some ignores to the problematic blocks (basically those with dependencies or using env vars)
and fixed some links to use formatting instead of tab formatting

@ehuss ehuss self-assigned this Jan 25, 2020
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each code block should use the appropriate language. text disables highlighting and better conveys the intent of what the code block is for.

First, let’s take a look at the directory structure of this package:

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```text

Like above, let’s first take a look at the package layout:

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```text

layout of this scenario:

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```text

actively denying third party access. To check this, you can go to:

https://github.com/organizations/:org/settings/oauth_application_policy
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```text

environment variable will accomplish the same thing as defining a config file:

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```text

Example:

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```sh

component:

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```console

Usage looks like:

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```console

of these crates, then you can pass an argument to `-Zbuild-std` as well:

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```console

takes, and tracks concurrency information over time.

```
```ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```ignore
```sh

@bors
Copy link
Contributor

bors commented Jan 31, 2020

☔ The latest upstream changes (presumably #7823) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added the S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. label Jan 31, 2020
@ehuss
Copy link
Contributor

ehuss commented Sep 3, 2020

I'm going to close, as I haven't heard back in a while. Feel free to reopen with the suggested changes, or open new PR if you're still interested.

@ehuss ehuss closed this Sep 3, 2020
bors added a commit that referenced this pull request Sep 4, 2020
fix mdbook test with ```ignore/text/sh/console

I revitalized the dead PR #7832

sorry about the delay

testing is just running `mdbook test` which now passes! Let me know if you want me to add mdbook test to ci as well!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants