Skip to content

Commit

Permalink
[DOC] updating documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Cr0a3 committed Jul 10, 2024
1 parent 3824561 commit 6673d08
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
run: rustup update --no-self-update stable

- name: Build Documentation
run: cargo doc --all --no-deps
run: |
export RUSTDOCFLAGS="--no-check"
cargo doc --all --no-deps
- name: Doc Index Page Redirection
run: echo '<meta http-equiv="refresh" content="1; url=Ygen/index.html">' > ./target/doc/index.html
Expand Down
8 changes: 4 additions & 4 deletions src/IR/ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ macro_rules! IrTypeWith3 {
#[derive(Debug, Clone)]
pub struct $name<$param1, $param2, $param3> {
/// first inner value
pub inner1: $param1,
pub(crate) inner1: $param1,
/// second inner value
pub inner2: $param2,
pub(crate) inner2: $param2,
/// third inner value
pub inner3: $param3,
pub(crate) inner3: $param3,
}


Expand Down Expand Up @@ -62,7 +62,7 @@ macro_rules! IrTypeWith1 {
#[derive(Debug, Clone)]
pub(crate) struct $name<$param1> {
/// inner value
pub inner1: $param1,
pub(crate) inner1: $param1,
}


Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#![allow(non_snake_case)]
#![warn(missing_docs)]
#![warn(unreachable_pub)]
#![allow(clippy::redundant_field_names)]
#![allow(rustdoc::invalid_html_tags)]

//! Ygen - <b>Y</b>et another Code <b>Gen</b>erator
Expand Down

0 comments on commit 6673d08

Please sign in to comment.